Class TokenCountPriorityQueue
- java.lang.Object
-
- org.apache.lucene.util.PriorityQueue<TokenIntPair>
-
- org.apache.tika.eval.core.textstats.TokenCountPriorityQueue
-
- All Implemented Interfaces:
Iterable<TokenIntPair>
public class TokenCountPriorityQueue extends org.apache.lucene.util.PriorityQueue<TokenIntPair>
-
-
Constructor Summary
Constructors Constructor Description TokenCountPriorityQueue(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenIntPair[]
getArray()
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
-
-
-
-
Method Detail
-
lessThan
protected boolean lessThan(TokenIntPair arg0, TokenIntPair arg1)
- Specified by:
lessThan
in classorg.apache.lucene.util.PriorityQueue<TokenIntPair>
-
getArray
public TokenIntPair[] getArray()
-
-