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