public static final class Util.TopResults<T> extends Object implements Iterable<Util.Result<T>>
Util.TopNSearcher| Modifier and Type | Field and Description |
|---|---|
boolean |
isComplete
true iff this is a complete result ie. |
List<Util.Result<T>> |
topN
The top results
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Util.Result<T>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 List<Util.Result<T>> topN
public Iterator<Util.Result<T>> iterator()
iterator in interface Iterable<Util.Result<T>>Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.