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, removeadd, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toShortArray, toShortArray, toStringclear, sizecomparator, firstShort, headSet, iterator, lastShort, subSet, tailSetadd, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toShortArray, toShortArrayspliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic ShortSortedSet headSet(Short to)
headSet in interface ShortSortedSetheadSet in interface SortedSet<Short>SortedSet.headSet(Object)public ShortSortedSet tailSet(Short from)
tailSet in interface ShortSortedSettailSet in interface SortedSet<Short>SortedSet.tailSet(Object)public ShortSortedSet subSet(Short from, Short to)
subSet in interface ShortSortedSetsubSet in interface SortedSet<Short>SortedSet.subSet(Object,Object)public Short first()
public Short last()
@Deprecated public ShortBidirectionalIterator shortIterator()
shortIterator in interface ShortCollectionshortIterator in interface ShortSortedSetshortIterator in class AbstractShortCollectionShortCollection.iterator()public abstract ShortBidirectionalIterator iterator()
ShortCollectionNote 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 ShortCollectioniterator in interface ShortIterableiterator in interface ShortSetiterator in interface ShortSortedSetiterator in interface Iterable<Short>iterator in interface Collection<Short>iterator in interface Set<Short>iterator in class AbstractShortSet