Package it.unimi.dsi.fastutil.floats
Class AbstractFloatSortedSet
java.lang.Object
java.util.AbstractCollection<Float>
it.unimi.dsi.fastutil.floats.AbstractFloatCollection
it.unimi.dsi.fastutil.floats.AbstractFloatSet
it.unimi.dsi.fastutil.floats.AbstractFloatSortedSet
- All Implemented Interfaces:
FloatBidirectionalIterable
,FloatCollection
,FloatIterable
,FloatSet
,FloatSortedSet
,Cloneable
,Iterable<Float>
,Collection<Float>
,Set<Float>
,SortedSet<Float>
- Direct Known Subclasses:
FloatAVLTreeSet
,FloatLinkedOpenCustomHashSet
,FloatLinkedOpenHashSet
,FloatRBTreeSet
public abstract class AbstractFloatSortedSet extends AbstractFloatSet implements FloatSortedSet
An abstract class providing basic methods for sorted sets implementing a
type-specific interface.
-
Method Summary
Modifier and Type Method Description abstract FloatBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatSet
equals, hashCode, rem, remove
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toFloatArray, toFloatArray, 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.floats.FloatCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toFloatArray, toFloatArray
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatIterable
forEach, forEach
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatSet
add, contains, rem, remove, remove
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatSortedSet
comparator, first, firstFloat, headSet, headSet, iterator, last, lastFloat, 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 Details
-
iterator
Description copied from interface:FloatCollection
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 interfaceCollection<Float>
- Specified by:
iterator
in interfaceFloatBidirectionalIterable
- Specified by:
iterator
in interfaceFloatCollection
- Specified by:
iterator
in interfaceFloatIterable
- Specified by:
iterator
in interfaceFloatSet
- Specified by:
iterator
in interfaceFloatSortedSet
- Specified by:
iterator
in interfaceIterable<Float>
- Specified by:
iterator
in interfaceSet<Float>
- Specified by:
iterator
in classAbstractFloatSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-