|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.PriorityQueue<MutableElement>
org.apache.mahout.math.hadoop.similarity.cooccurrence.TopElementsQueue
public class TopElementsQueue
Constructor Summary | |
---|---|
TopElementsQueue(int maxSize)
|
Method Summary | |
---|---|
protected MutableElement |
getSentinelObject()
|
List<MutableElement> |
getTopElements()
|
protected boolean |
lessThan(MutableElement e1,
MutableElement e2)
|
Methods inherited from class org.apache.lucene.util.PriorityQueue |
---|
add, clear, getHeapArray, insertWithOverflow, pop, size, top, updateTop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopElementsQueue(int maxSize)
Method Detail |
---|
public List<MutableElement> getTopElements()
protected MutableElement getSentinelObject()
getSentinelObject
in class org.apache.lucene.util.PriorityQueue<MutableElement>
protected boolean lessThan(MutableElement e1, MutableElement e2)
lessThan
in class org.apache.lucene.util.PriorityQueue<MutableElement>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |