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, 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 java.util.Collection
parallelStream, stream, 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.DoubleIterable
forEach, forEach
-
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
-
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 Detail
-
iterator
public abstract DoubleBidirectionalIterator 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()
-
-