|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortedSet<AnyType>
SortedSet interface.
Method Summary | |
---|---|
Comparator<? super AnyType> |
comparator()
Return the comparator used by this SortedSet. |
AnyType |
first()
Find the smallest item in the set. |
AnyType |
last()
Find the largest item in the set. |
Methods inherited from interface weiss.util.Set |
---|
getMatch |
Methods inherited from interface weiss.util.Collection |
---|
add, clear, contains, isEmpty, iterator, remove, size, toArray, toArray |
Method Detail |
---|
Comparator<? super AnyType> comparator()
AnyType first()
NoSuchElementException
- if the set is empty.AnyType last()
NoSuchElementException
- if the set is empty.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |