public abstract class AbstractLongSortedSet extends AbstractLongSet implements LongSortedSet
| Modifier and Type | Method and Description |
|---|---|
Long |
first()
Delegates to the corresponding type-specific method.
|
LongSortedSet |
headSet(Long to)
Delegates to the corresponding type-specific method.
|
abstract LongBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
Long |
last()
Delegates to the corresponding type-specific method.
|
LongBidirectionalIterator |
longIterator()
Deprecated.
|
LongSortedSet |
subSet(Long from,
Long to)
Delegates to the corresponding type-specific method.
|
LongSortedSet |
tailSet(Long 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, toLongArray, toLongArray, toStringclear, sizecomparator, firstLong, headSet, iterator, lastLong, subSet, tailSetadd, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArraypublic LongSortedSet headSet(Long to)
headSet in interface LongSortedSetheadSet in interface SortedSet<Long>SortedSet.headSet(Object)public LongSortedSet tailSet(Long from)
tailSet in interface LongSortedSettailSet in interface SortedSet<Long>SortedSet.tailSet(Object)public LongSortedSet subSet(Long from, Long to)
subSet in interface LongSortedSetsubSet in interface SortedSet<Long>SortedSet.subSet(Object,Object)public Long first()
public Long last()
@Deprecated public LongBidirectionalIterator longIterator()
longIterator in interface LongCollectionlongIterator in interface LongSortedSetlongIterator in class AbstractLongCollectionLongCollection.iterator()public abstract LongBidirectionalIterator iterator()
LongCollectionNote 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 LongCollectioniterator in interface LongIterableiterator in interface LongSetiterator in interface LongSortedSetiterator in interface Iterable<Long>iterator in interface Collection<Long>iterator in interface Set<Long>iterator in class AbstractLongSet