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, remove
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray, toString
comparator, firstLong, headSet, iterator, lastLong, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArray
public LongSortedSet headSet(java.lang.Long to)
headSet
in interface LongSortedSet
headSet
in interface java.util.SortedSet<java.lang.Long>
SortedSet.headSet(Object)
public LongSortedSet tailSet(java.lang.Long from)
tailSet
in interface LongSortedSet
tailSet
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 LongSortedSet
subSet
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 LongCollection
longIterator
in interface LongSortedSet
longIterator
in class AbstractLongCollection
LongCollection.iterator()
public abstract LongBidirectionalIterator iterator()
LongCollection
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 LongCollection
iterator
in interface LongIterable
iterator
in interface LongSet
iterator
in interface LongSortedSet
iterator
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