Class TokenCountPriorityQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<TokenIntPair>
org.apache.tika.eval.core.textstats.TokenCountPriorityQueue
- All Implemented Interfaces:
Iterable<TokenIntPair>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArray()
protected boolean
lessThan
(TokenIntPair arg0, TokenIntPair arg1) Methods inherited from class org.apache.lucene.util.PriorityQueue
add, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TokenCountPriorityQueue
public TokenCountPriorityQueue(int maxSize)
-
-
Method Details
-
lessThan
- Specified by:
lessThan
in classorg.apache.lucene.util.PriorityQueue<TokenIntPair>
-
getArray
-