|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortedSet<T>
An interface for a set of elements, whose iterator returns the elements in ascending order
Method Summary | |
---|---|
boolean |
contains(T element)
Return a boolean expression if this set contains the given element. |
T |
getMaximum()
Return the maximum element in this set. |
T |
getMinimum()
Return the mimimum element in this set. |
boolean |
isEmpty()
Return true iff the set is empty. |
SortedIterator<T> |
iterator()
Returns an Iterator for the elements of this set. |
int |
size()
Return the power of this set, i.e the number of elements in the set. |
Method Detail |
---|
int size()
boolean contains(T element)
boolean isEmpty()
T getMinimum()
T getMaximum()
SortedIterator<T> iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |