Package it.unimi.dsi.fastutil.shorts
Class AbstractShortSortedSet
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.Short>
-
- it.unimi.dsi.fastutil.shorts.AbstractShortCollection
-
- it.unimi.dsi.fastutil.shorts.AbstractShortSet
-
- it.unimi.dsi.fastutil.shorts.AbstractShortSortedSet
-
- All Implemented Interfaces:
ShortBidirectionalIterable
,ShortCollection
,ShortIterable
,ShortSet
,ShortSortedSet
,java.lang.Cloneable
,java.lang.Iterable<java.lang.Short>
,java.util.Collection<java.lang.Short>
,java.util.Set<java.lang.Short>
,java.util.SortedSet<java.lang.Short>
- Direct Known Subclasses:
ShortAVLTreeSet
,ShortLinkedOpenCustomHashSet
,ShortLinkedOpenHashSet
,ShortRBTreeSet
public abstract class AbstractShortSortedSet extends AbstractShortSet implements ShortSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ShortBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortSet
equals, hashCode, rem, remove
-
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toShortArray, toShortArray, toString
-
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, 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
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toShortArray, toShortArray
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSet
add, contains, rem, remove, remove
-
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSortedSet
comparator, first, firstShort, headSet, headSet, iterator, last, lastShort, subSet, subSet, tailSet, tailSet
-
-
-
-
Method Detail
-
iterator
public abstract ShortBidirectionalIterator iterator()
Description copied from interface:ShortCollection
Returns a type-specific iterator on the elements of this collection.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 extendsCollection
.- Specified by:
iterator
in interfacejava.util.Collection<java.lang.Short>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.Short>
- Specified by:
iterator
in interfacejava.util.Set<java.lang.Short>
- Specified by:
iterator
in interfaceShortBidirectionalIterable
- Specified by:
iterator
in interfaceShortCollection
- Specified by:
iterator
in interfaceShortIterable
- Specified by:
iterator
in interfaceShortSet
- Specified by:
iterator
in interfaceShortSortedSet
- Specified by:
iterator
in classAbstractShortSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-
-