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:
IntBidirectionalIterable,IntCollection,IntIterable,IntSet,IntSortedSet,Cloneable,Iterable<Integer>,Collection<Integer>,Set<Integer>,SortedSet<Integer>
- Direct Known Subclasses:
IntAVLTreeSet,IntLinkedOpenCustomHashSet,IntLinkedOpenHashSet,IntRBTreeSet
public abstract class AbstractIntSortedSet extends AbstractIntSet implements IntSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
-
-
Method Summary
Modifier and Type Method Description abstract IntBidirectionalIteratoriterator()Returns a type-specific iterator on the elements of this collection.-
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntSet
equals, hashCode, rem, remove
-
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toIntArray, toIntArray, toString
-
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toIntArray, toIntArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntSet
add, contains, rem, remove, remove
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntSortedSet
comparator, first, firstInt, headSet, headSet, iterator, last, lastInt, subSet, subSet, tailSet, tailSet
-
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.SortedSet
spliterator
-
-
-
-
Method Detail
-
iterator
public abstract IntBidirectionalIterator iterator()
Description copied from interface:IntCollectionReturns 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:
iteratorin interfaceCollection<Integer>- Specified by:
iteratorin interfaceIntBidirectionalIterable- Specified by:
iteratorin interfaceIntCollection- Specified by:
iteratorin interfaceIntIterable- 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 collection.
- See Also:
Iterable.iterator()
-
-