Package it.unimi.dsi.fastutil.shorts
Class AbstractShortSortedSet
java.lang.Object
java.util.AbstractCollection<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
,Cloneable
,Iterable<Short>
,Collection<Short>
,SequencedCollection<Short>
,SequencedSet<Short>
,Set<Short>
,SortedSet<Short>
- Direct Known Subclasses:
ShortAVLTreeSet
,ShortLinkedOpenCustomHashSet
,ShortLinkedOpenHashSet
,ShortRBTreeSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
Method Summary
Modifier and TypeMethodDescriptionabstract 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, addAll, contains, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toArray, toShortArray, toShortArray, toString
Methods inherited from interface java.util.Collection
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, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toShortArray, toShortArray
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, 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, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Method Details
-
iterator
Description copied from interface:ShortCollection
Returns a type-specific iterator on the elements of this collection.- Specified by:
iterator
in interfaceCollection<Short>
- Specified by:
iterator
in interfaceIterable<Short>
- Specified by:
iterator
in interfaceSet<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:
-