|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<java.lang.Long>
it.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongSet
it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
public abstract class AbstractLongSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
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. |
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection |
---|
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray, toString |
Methods inherited from class java.util.AbstractCollection |
---|
clear, size |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSortedSet |
---|
comparator, firstLong, headSet, iterator, lastLong, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |