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 DoubleBidirectionalIteratoriterator()Returns a type-specific iterator on the elements of this collection.Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleSet
equals, hashCode, rem, removeMethods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, add, addAll, contains, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray, toStringMethods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
add, addAll, contains, containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSet
add, contains, rem, remove, removeMethods 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:DoubleCollectionReturns 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<Double>- Specified by:
iteratorin interfaceDoubleBidirectionalIterable- Specified by:
iteratorin interfaceDoubleCollection- Specified by:
iteratorin interfaceDoubleIterable- Specified by:
iteratorin interfaceDoubleSet- Specified by:
iteratorin interfaceDoubleSortedSet- Specified by:
iteratorin interfaceIterable<Double>- Specified by:
iteratorin interfaceSet<Double>- Specified by:
iteratorin classAbstractDoubleSet- Returns:
- a type-specific iterator on the elements of this collection.
- See Also:
Iterable.iterator()
-