|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortedSet
SortedSet is a Set which iterates its elements in sorted order.
Method Summary | |
---|---|
Comparator |
comparator()
Answers the Comparator used to compare elements in this SortedSet. |
java.lang.Object |
first()
Answer the first sorted element in this SortedSet. |
SortedSet |
headSet(java.lang.Object end)
Answers a SortedSet of the specified portion of this SortedSet which contains elements less than the end element. |
java.lang.Object |
last()
Answer the last sorted element in this SortedSet. |
SortedSet |
subSet(java.lang.Object start,
java.lang.Object end)
Answers a SortedSet of the specified portion of this SortedSet which contains elements greater or equal to the start element but less than the end element. |
SortedSet |
tailSet(java.lang.Object start)
Answers a SortedSet of the specified portion of this SortedSet which contains elements greater or equal to the start element. |
Methods inherited from interface oracle.adfnmc.java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
Comparator comparator()
java.lang.Object first()
NoSuchElementException
- when this SortedSet is emptySortedSet headSet(java.lang.Object end)
end
- the end element
end
java.lang.ClassCastException
- when the class of the end element is inappropriate for this SubSet
java.lang.NullPointerException
- when the end element is null and this SortedSet does not support null elementsjava.lang.Object last()
NoSuchElementException
- when this SortedSet is emptySortedSet subSet(java.lang.Object start, java.lang.Object end)
start
- the start elementend
- the end element
start
and less than end
java.lang.ClassCastException
- when the class of the start or end element is inappropriate for this SubSet
java.lang.NullPointerException
- when the start or end element is null and this SortedSet does not support null elements
java.lang.IllegalArgumentException
- when the start element is greater than the end elementSortedSet tailSet(java.lang.Object start)
start
- the start element
start
java.lang.ClassCastException
- when the class of the start element is inappropriate for this SubSet
java.lang.NullPointerException
- when the start element is null and this SortedSet does not support null elements
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |