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, removeMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toIntArray, toIntArray, toStringMethods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toIntArray, toIntArrayMethods 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, subSet, subSet, tailSet, tailSet
-
Method Details
-
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()
-