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
|
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 List<Util.Result<T>> topN
public Iterator<Util.Result<T>> iterator()
iterator
in interface Iterable<Util.Result<T>>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.