Package it.unimi.dsi.fastutil.ints
Class AbstractIntSortedSet
- java.lang.Object
-
- java.util.AbstractCollection<java.lang.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
,java.lang.Cloneable
,java.lang.Iterable<java.lang.Integer>
,java.util.Collection<java.lang.Integer>
,java.util.Set<java.lang.Integer>
,java.util.SortedSet<java.lang.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract IntBidirectionalIterator
iterator()
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 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
-
-
-
-
Method Detail
-
iterator
public abstract IntBidirectionalIterator iterator()
Description copied from interface:IntCollection
Returns 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:
iterator
in interfacejava.util.Collection<java.lang.Integer>
- Specified by:
iterator
in interfaceIntBidirectionalIterable
- Specified by:
iterator
in interfaceIntCollection
- Specified by:
iterator
in interfaceIntIterable
- Specified by:
iterator
in interfaceIntSet
- Specified by:
iterator
in interfaceIntSortedSet
- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.Integer>
- Specified by:
iterator
in interfacejava.util.Set<java.lang.Integer>
- Specified by:
iterator
in classAbstractIntSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-
-