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:
it.unimi.dsi.fastutil.shorts.ShortBidirectionalIterable,it.unimi.dsi.fastutil.shorts.ShortCollection,it.unimi.dsi.fastutil.shorts.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract it.unimi.dsi.fastutil.shorts.ShortBidirectionalIteratoriterator()Returns a type-specific iterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortSet
equals, hashCode, rem, removeMethods 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
toArrayMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods 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, toShortArrayMethods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterable
forEach, forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSet
add, contains, rem, remove, removeMethods inherited from interface it.unimi.dsi.fastutil.shorts.ShortSortedSet
comparator, first, firstShort, headSet, headSet, iterator, last, lastShort, spliterator, subSet, subSet, tailSet, tailSetMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Constructor Details
-
AbstractShortSortedSet
protected AbstractShortSortedSet()
-
-
Method Details
-
iterator
public abstract it.unimi.dsi.fastutil.shorts.ShortBidirectionalIterator iterator()Description copied from interface:ShortSetReturns a type-specific iterator on the elements of this set.- Specified by:
iteratorin interfaceCollection<Short>- Specified by:
iteratorin interfaceIterable<Short>- Specified by:
iteratorin interfaceSet<Short>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.shorts.ShortBidirectionalIterable- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.shorts.ShortCollection- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.shorts.ShortIterable- Specified by:
iteratorin interfaceShortSet- Specified by:
iteratorin interfaceShortSortedSet- Specified by:
iteratorin classAbstractShortSet- Returns:
- a type-specific iterator on the elements of this set.
-