public static final class Lookup.LookupPriorityQueue extends PriorityQueue<Lookup.LookupResult>
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.
|
add, clear, insertWithOverflow, pop, size, top, updateToppublic LookupPriorityQueue(int size)
public Lookup.LookupResult[] getResults()
Copyright © 2010 - 2020 Adobe. All Rights Reserved