public static final class Util.TopResults<T> extends java.lang.Object implements java.lang.Iterable<Util.Result<T>>
Util.TopNSearcher
Modifier and Type | Field and Description |
---|---|
boolean |
isComplete
true iff this is a complete result ie. |
java.util.List<Util.Result<T>> |
topN
The top results
|
Constructor and Description |
---|
TopResults(boolean isComplete,
java.util.List<Util.Result<T>> topN) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Util.Result<T>> |
iterator() |
public final boolean isComplete
true
iff this is a complete result ie. if
the specified queue size was large enough to find the complete list of results. This might
be false
if the Util.TopNSearcher
rejected too many results.public final java.util.List<Util.Result<T>> topN
TopResults(boolean isComplete, java.util.List<Util.Result<T>> topN)
public java.util.Iterator<Util.Result<T>> iterator()
iterator
in interface java.lang.Iterable<Util.Result<T>>