public static final class Lookup.LookupPriorityQueue
extends <any>
PriorityQueue collecting a fixed size of high priority Lookup.LookupResult| Constructor and Description |
|---|
LookupPriorityQueue(int size)
Creates a new priority queue of the specified size.
|
| Modifier and Type | Method and Description |
|---|---|
Lookup.LookupResult[] |
getResults()
Returns the top N results in descending order.
|
protected boolean |
lessThan(Lookup.LookupResult a,
Lookup.LookupResult b) |
public LookupPriorityQueue(int size)
protected boolean lessThan(Lookup.LookupResult a, Lookup.LookupResult b)
public Lookup.LookupResult[] getResults()
Data In Motion GmbH all rights reserved