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