Package it.unimi.di.big.mg4j.search
Class AbstractUnionDocumentIterator.LongHeapSemiIndirectPriorityQueue
- java.lang.Object
-
- it.unimi.di.big.mg4j.search.AbstractUnionDocumentIterator.LongHeapSemiIndirectPriorityQueue
-
- All Implemented Interfaces:
IndirectPriorityQueue<Integer>
,IntIndirectPriorityQueue
- Enclosing class:
- AbstractUnionDocumentIterator
protected static final class AbstractUnionDocumentIterator.LongHeapSemiIndirectPriorityQueue extends Object implements IntIndirectPriorityQueue
-
-
Constructor Summary
Constructors Constructor Description LongHeapSemiIndirectPriorityQueue(long[] refArray)
-
Method Summary
Modifier and Type Method Description void
allChanged()
void
changed()
void
clear()
IntComparator
comparator()
int
dequeue()
void
enqueue(int x)
int
first()
int
front(int[] a)
int
size()
-
-
-
Method Detail
-
enqueue
public void enqueue(int x)
- Specified by:
enqueue
in interfaceIndirectPriorityQueue<Integer>
-
dequeue
public int dequeue()
- Specified by:
dequeue
in interfaceIndirectPriorityQueue<Integer>
-
first
public int first()
- Specified by:
first
in interfaceIndirectPriorityQueue<Integer>
-
changed
public void changed()
- Specified by:
changed
in interfaceIndirectPriorityQueue<Integer>
-
allChanged
public void allChanged()
- Specified by:
allChanged
in interfaceIndirectPriorityQueue<Integer>
-
size
public int size()
- Specified by:
size
in interfaceIndirectPriorityQueue<Integer>
-
clear
public void clear()
- Specified by:
clear
in interfaceIndirectPriorityQueue<Integer>
-
comparator
public IntComparator comparator()
- Specified by:
comparator
in interfaceIndirectPriorityQueue<Integer>
- Specified by:
comparator
in interfaceIntIndirectPriorityQueue
-
front
public int front(int[] a)
- Specified by:
front
in interfaceIndirectPriorityQueue<Integer>
-
-