|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for a list whose elements are also a set (unique). See AbstractSetList for details concerning the contract for implementing a SetList.
Method Summary | |
java.util.Set |
asSet()
Gets a mutable view of this setlist as a set, with a list iterator order. |
void |
sort()
Sorts this list into ascending order, according to the natural ordering of its elements. |
void |
sort(java.util.Comparator c)
Sorts this list according to the order induced by the specified comparator. |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
public void sort(java.util.Comparator c)
public void sort()
public java.util.Set asSet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |