|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.shorts.AbstractShortCollection
it.unimi.dsi.fastutil.shorts.AbstractShortSet
it.unimi.dsi.fastutil.shorts.AbstractShortSortedSet
public abstract class AbstractShortSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
java.lang.Short |
first()
Delegates to the corresponding type-specific method. |
ShortSortedSet |
headSet(java.lang.Short to)
Delegates to the corresponding type-specific method. |
abstract ShortBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection. |
java.lang.Short |
last()
Delegates to the corresponding type-specific method. |
ShortBidirectionalIterator |
shortIterator()
Deprecated. |
ShortSortedSet |
subSet(java.lang.Short from,
java.lang.Short to)
Delegates to the corresponding type-specific method. |
ShortSortedSet |
tailSet(java.lang.Short from)
Delegates to the corresponding type-specific method. |
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortCollection |
---|
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toShortArray, toShortArray, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSortedSet |
---|
comparator, firstShort, headSet, iterator, lastShort, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toShortArray, toShortArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
public ShortSortedSet headSet(java.lang.Short to)
headSet
in interface ShortSortedSet
headSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.headSet(Object)
public ShortSortedSet tailSet(java.lang.Short from)
tailSet
in interface ShortSortedSet
tailSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.tailSet(Object)
public ShortSortedSet subSet(java.lang.Short from, java.lang.Short to)
subSet
in interface ShortSortedSet
subSet
in interface java.util.SortedSet<java.lang.Short>
SortedSet.subSet(Object,Object)
public java.lang.Short first()
first
in interface java.util.SortedSet<java.lang.Short>
public java.lang.Short last()
last
in interface java.util.SortedSet<java.lang.Short>
@Deprecated public ShortBidirectionalIterator shortIterator()
shortIterator
in interface ShortCollection
shortIterator
in interface ShortSortedSet
shortIterator
in class AbstractShortCollection
ShortCollection.iterator()
public abstract ShortBidirectionalIterator iterator()
ShortCollection
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 ShortCollection
iterator
in interface ShortIterable
iterator
in interface ShortSet
iterator
in interface ShortSortedSet
iterator
in interface java.lang.Iterable<java.lang.Short>
iterator
in interface java.util.Collection<java.lang.Short>
iterator
in interface java.util.Set<java.lang.Short>
iterator
in class AbstractShortSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |