Package it.unimi.dsi.fastutil.ints
Class AbstractIntSortedSet
java.lang.Object
java.util.AbstractCollection<Integer>
it.unimi.dsi.fastutil.ints.AbstractIntCollection
it.unimi.dsi.fastutil.ints.AbstractIntSet
it.unimi.dsi.fastutil.ints.AbstractIntSortedSet
- All Implemented Interfaces:
it.unimi.dsi.fastutil.ints.IntBidirectionalIterable,it.unimi.dsi.fastutil.ints.IntCollection,it.unimi.dsi.fastutil.ints.IntIterable,IntSet,IntSortedSet,Cloneable,Iterable<Integer>,Collection<Integer>,SequencedCollection<Integer>,SequencedSet<Integer>,Set<Integer>,SortedSet<Integer>
- Direct Known Subclasses:
IntAVLTreeSet,IntLinkedOpenCustomHashSet,IntLinkedOpenHashSet,IntRBTreeSet
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.ints.IntBidirectionalIteratoriterator()Returns a type-specific iterator on the elements of this set.Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntSet
equals, hashCode, rem, removeMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection
add, add, addAll, addAll, contains, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toArray, toIntArray, toIntArray, 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 it.unimi.dsi.fastutil.ints.IntCollection
add, addAll, contains, containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toIntArray, toIntArrayMethods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.ints.IntSet
add, contains, rem, remove, removeMethods inherited from interface it.unimi.dsi.fastutil.ints.IntSortedSet
comparator, first, firstInt, headSet, headSet, iterator, last, lastInt, spliterator, subSet, subSet, tailSet, tailSetMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Constructor Details
-
AbstractIntSortedSet
protected AbstractIntSortedSet()
-
-
Method Details
-
iterator
public abstract it.unimi.dsi.fastutil.ints.IntBidirectionalIterator iterator()Description copied from interface:IntSetReturns a type-specific iterator on the elements of this set.- Specified by:
iteratorin interfaceCollection<Integer>- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntBidirectionalIterable- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntCollection- Specified by:
iteratorin interfaceit.unimi.dsi.fastutil.ints.IntIterable- Specified by:
iteratorin interfaceIntSet- Specified by:
iteratorin interfaceIntSortedSet- Specified by:
iteratorin interfaceIterable<Integer>- Specified by:
iteratorin interfaceSet<Integer>- Specified by:
iteratorin classAbstractIntSet- Returns:
- a type-specific iterator on the elements of this set.
-