soot.util
Class Heap
java.lang.Object
soot.util.Heap
public class Heap
- extends Object
A heap (priority queue) implementation.
- Author:
- Ondrej Lhotak
Nested Class Summary |
static interface |
Heap.Keys
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Heap
public Heap(Heap.Keys keys)
size
public int size()
isEmpty
public boolean isEmpty()
contains
public boolean contains(Object o)
add
public boolean add(Object o)
min
public Object min()
removeMin
public Object removeMin()
heapify
public void heapify()