|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SortedIntSet
The SortedIntSet ... TODO javadoc-SortedIntSet-type
| Method Summary | |
|---|---|
SortedIntSet |
headSet(int toElement)
Returns a view of the portion of this set whose elements are strictly less than toElement. |
SortedIntSet |
headSet(Integer toElement)
|
SortedIntSet |
subSet(Integer fromElement,
Integer toElement)
|
SortedIntSet |
subSet(int fromElement,
int toElement)
Returns a view of the portion of this set whose elements range from fromElement, inclusive, to toElement, exclusive. |
SortedIntSet |
tailSet(int fromElement)
Returns a view of the portion of this set whose elements are greater than or equal to fromElement. |
SortedIntSet |
tailSet(Integer fromElement)
|
| Methods inherited from interface ch.javasoft.util.intcoll.IntCollection |
|---|
addAll, addAll, addInt, containsInt, intIterator, removeInt, toIntArray, toIntArray |
| Methods inherited from interface java.util.SortedSet |
|---|
comparator, first, last |
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
|---|
SortedIntSet subSet(int fromElement,
int toElement)
The returned set will throw an IllegalArgumentException on an attempt to insert an element outside its range.
fromElement - low endpoint (inclusive) of the returned settoElement - high endpoint (exclusive) of the returned set
IllegalArgumentException - if fromElement is
greater than toElement; or if this set itself
has a restricted range, and fromElement or
toElement lies outside the bounds of the range
SortedIntSet subSet(Integer fromElement,
Integer toElement)
subSet in interface SortedSet<Integer>SortedIntSet headSet(int toElement)
The returned set will throw an IllegalArgumentException on an attempt to insert an element outside its range.
toElement - high endpoint (exclusive) of the returned set
IllegalArgumentException - if this set itself has a
restricted range, and toElement lies outside the
bounds of the rangeSortedIntSet headSet(Integer toElement)
headSet in interface SortedSet<Integer>SortedIntSet tailSet(int fromElement)
The returned set will throw an IllegalArgumentException on an attempt to insert an element outside its range.
fromElement - low endpoint (inclusive) of the returned set
IllegalArgumentException - if this set itself has a
restricted range, and fromElement lies outside the
bounds of the rangeSortedIntSet tailSet(Integer fromElement)
tailSet in interface SortedSet<Integer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||