|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.levelset.PDE.datatypes.MTBLevelsetFunctionPDE.SortedList<EType>
EType
- type of the elementprotected class MTBLevelsetFunctionPDE.SortedList<EType>
A genric class representing a sorted list
Constructor Summary | |
---|---|
MTBLevelsetFunctionPDE.SortedList()
create empty SortetList |
Method Summary | |
---|---|
int |
getSize()
count number of elements |
boolean |
offer(EType element,
double priority)
add an element to List |
EType |
poll()
retrieve element with highest priority |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MTBLevelsetFunctionPDE.SortedList()
Method Detail |
---|
public int getSize()
public boolean offer(EType element, double priority)
element
- element to addpriority
- priority of this element
public EType poll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |