public abstract class AbstractIntSortedSet extends AbstractIntSet implements IntSortedSet
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
first()
Delegates to the corresponding type-specific method.
|
IntSortedSet |
headSet(java.lang.Integer to)
Delegates to the corresponding type-specific method.
|
IntBidirectionalIterator |
intIterator()
Deprecated.
|
abstract IntBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
java.lang.Integer |
last()
Delegates to the corresponding type-specific method.
|
IntSortedSet |
subSet(java.lang.Integer from,
java.lang.Integer to)
Delegates to the corresponding type-specific method.
|
IntSortedSet |
tailSet(java.lang.Integer from)
Delegates to the corresponding type-specific method.
|
equals, hashCode, rem, remove, remove
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toIntArray, toIntArray, toString
comparator, firstInt, headSet, iterator, lastInt, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toIntArray, toIntArray
public IntSortedSet headSet(java.lang.Integer to)
headSet
in interface IntSortedSet
headSet
in interface java.util.SortedSet<java.lang.Integer>
SortedSet.headSet(Object)
public IntSortedSet tailSet(java.lang.Integer from)
tailSet
in interface IntSortedSet
tailSet
in interface java.util.SortedSet<java.lang.Integer>
SortedSet.tailSet(Object)
public IntSortedSet subSet(java.lang.Integer from, java.lang.Integer to)
subSet
in interface IntSortedSet
subSet
in interface java.util.SortedSet<java.lang.Integer>
SortedSet.subSet(Object,Object)
public java.lang.Integer first()
first
in interface java.util.SortedSet<java.lang.Integer>
public java.lang.Integer last()
last
in interface java.util.SortedSet<java.lang.Integer>
@Deprecated public IntBidirectionalIterator intIterator()
intIterator
in interface IntCollection
intIterator
in interface IntSortedSet
intIterator
in class AbstractIntCollection
IntCollection.iterator()
public abstract IntBidirectionalIterator iterator()
IntCollection
Note that this specification strengthens the one given in
Iterable.iterator()
, which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection
.
iterator
in interface IntCollection
iterator
in interface IntIterable
iterator
in interface IntSet
iterator
in interface IntSortedSet
iterator
in interface java.lang.Iterable<java.lang.Integer>
iterator
in interface java.util.Collection<java.lang.Integer>
iterator
in interface java.util.Set<java.lang.Integer>
iterator
in class AbstractIntSet