|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleSet
it.unimi.dsi.fastutil.doubles.AbstractDoubleSortedSet
public abstract class AbstractDoubleSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
Method Summary | |
---|---|
DoubleBidirectionalIterator |
doubleIterator()
Deprecated. |
Double |
first()
Delegates to the corresponding type-specific method. |
DoubleSortedSet |
headSet(Double to)
Delegates to the corresponding type-specific method. |
abstract DoubleBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection. |
Double |
last()
Delegates to the corresponding type-specific method. |
DoubleSortedSet |
subSet(Double from,
Double to)
Delegates to the corresponding type-specific method. |
DoubleSortedSet |
tailSet(Double from)
Delegates to the corresponding type-specific method. |
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleSet |
---|
equals, hashCode, rem, remove, remove |
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection |
---|
add, add, addAll, addAll, clear, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toDoubleArray, toDoubleArray, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSortedSet |
---|
comparator, firstDouble, headSet, iterator, lastDouble, subSet, tailSet |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleSet |
---|
remove |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection |
---|
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toDoubleArray, toDoubleArray |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
public DoubleSortedSet headSet(Double to)
headSet
in interface DoubleSortedSet
headSet
in interface SortedSet<Double>
SortedSet.headSet(Object)
public DoubleSortedSet tailSet(Double from)
tailSet
in interface DoubleSortedSet
tailSet
in interface SortedSet<Double>
SortedSet.tailSet(Object)
public DoubleSortedSet subSet(Double from, Double to)
subSet
in interface DoubleSortedSet
subSet
in interface SortedSet<Double>
SortedSet.subSet(Object,Object)
public Double first()
first
in interface SortedSet<Double>
public Double last()
last
in interface SortedSet<Double>
@Deprecated public DoubleBidirectionalIterator doubleIterator()
doubleIterator
in interface DoubleCollection
doubleIterator
in interface DoubleSortedSet
doubleIterator
in class AbstractDoubleCollection
DoubleCollection.iterator()
public abstract DoubleBidirectionalIterator iterator()
DoubleCollection
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 extends Collection
.
iterator
in interface DoubleCollection
iterator
in interface DoubleIterable
iterator
in interface DoubleSet
iterator
in interface DoubleSortedSet
iterator
in interface Iterable<Double>
iterator
in interface Collection<Double>
iterator
in interface Set<Double>
iterator
in class AbstractDoubleSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |