public abstract class AbstractShortSortedSet extends AbstractShortSet implements ShortSortedSet
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
first()
Delegates to the corresponding type-specific method.
|
ShortSortedSet |
headSet(java.lang.Short to)
Delegates to the corresponding type-specific method.
|
abstract ShortBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
java.lang.Short |
last()
Delegates to the corresponding type-specific method.
|
ShortBidirectionalIterator |
shortIterator()
Deprecated.
|
ShortSortedSet |
subSet(java.lang.Short from,
java.lang.Short to)
Delegates to the corresponding type-specific method.
|
ShortSortedSet |
tailSet(java.lang.Short 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, toShortArray, toShortArray, toString
comparator, firstShort, headSet, iterator, lastShort, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toShortArray, toShortArray
public ShortSortedSet headSet(java.lang.Short to)
headSet
in interface ShortSortedSet
headSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.headSet(Object)
public ShortSortedSet tailSet(java.lang.Short from)
tailSet
in interface ShortSortedSet
tailSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.tailSet(Object)
public ShortSortedSet subSet(java.lang.Short from, java.lang.Short to)
subSet
in interface ShortSortedSet
subSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.subSet(Object,Object)
public java.lang.Short first()
first
in interface java.util.SortedSet<java.lang.Short>
public java.lang.Short last()
last
in interface java.util.SortedSet<java.lang.Short>
@Deprecated public ShortBidirectionalIterator shortIterator()
shortIterator
in interface ShortCollection
shortIterator
in interface ShortSortedSet
shortIterator
in class AbstractShortCollection
ShortCollection.iterator()
public abstract ShortBidirectionalIterator iterator()
ShortCollection
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 ShortCollection
iterator
in interface ShortIterable
iterator
in interface ShortSet
iterator
in interface ShortSortedSet
iterator
in interface java.lang.Iterable<java.lang.Short>
iterator
in interface java.util.Collection<java.lang.Short>
iterator
in interface java.util.Set<java.lang.Short>
iterator
in class AbstractShortSet