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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArray()protected booleanlessThan(TokenIntPair arg0, TokenIntPair arg1) Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TokenCountPriorityQueue
public TokenCountPriorityQueue(int maxSize)
-
-
Method Details
-
lessThan
- Specified by:
lessThanin classorg.apache.lucene.util.PriorityQueue<TokenIntPair>
-
getArray
-