Package it.unimi.dsi.fastutil.doubles
Class AbstractDoubleSortedSet
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleSet
it.unimi.dsi.fastutil.doubles.AbstractDoubleSortedSet
- All Implemented Interfaces:
DoubleBidirectionalIterable
,DoubleCollection
,DoubleIterable
,DoubleSet
,DoubleSortedSet
,Cloneable
,Iterable<Double>
,Collection<Double>
,Set<Double>
,SortedSet<Double>
- Direct Known Subclasses:
DoubleAVLTreeSet
,DoubleLinkedOpenCustomHashSet
,DoubleLinkedOpenHashSet
,DoubleRBTreeSet
public abstract class AbstractDoubleSortedSet extends AbstractDoubleSet implements DoubleSortedSet
An abstract class providing basic methods for sorted sets implementing a
type-specific interface.
-
Method Summary
Modifier and Type Method Description abstract DoubleBidirectionalIterator
iterator()
Returns a type-specific iterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleSet
equals, hashCode, rem, remove
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray, 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.doubles.DoubleCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArray
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSet
add, contains, rem, remove, remove
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSortedSet
comparator, first, firstDouble, headSet, headSet, iterator, last, lastDouble, subSet, subSet, tailSet, tailSet
-
Method Details
-
iterator
Description copied from interface:DoubleCollection
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<Double>
- Specified by:
iterator
in interfaceDoubleBidirectionalIterable
- Specified by:
iterator
in interfaceDoubleCollection
- Specified by:
iterator
in interfaceDoubleIterable
- Specified by:
iterator
in interfaceDoubleSet
- Specified by:
iterator
in interfaceDoubleSortedSet
- Specified by:
iterator
in interfaceIterable<Double>
- Specified by:
iterator
in interfaceSet<Double>
- Specified by:
iterator
in classAbstractDoubleSet
- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-