|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.util.PriorityQueue
A priority queue over a set of Comparable objects.
| Constructor Summary | |
PriorityQueue()
Creates a new empty priority queue |
|
| Method Summary | |
void |
add(java.lang.Comparable x)
Insert into the priority queue. |
void |
clear()
Make the priority queue logically empty. |
boolean |
isEmpty()
Test if the priority queue is logically empty. |
java.lang.Object |
poll()
Remove the smallest item from the priority queue. |
int |
size()
Returns size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PriorityQueue()
| Method Detail |
public void add(java.lang.Comparable x)
x - the item to insert.public boolean isEmpty()
public int size()
public void clear()
public java.lang.Object poll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||