public abstract class AbstractDoubleSortedSet extends AbstractDoubleSet implements DoubleSortedSet
Modifier and Type | Method and Description |
---|---|
DoubleBidirectionalIterator |
doubleIterator()
Deprecated.
|
java.lang.Double |
first()
Delegates to the corresponding type-specific method.
|
DoubleSortedSet |
headSet(java.lang.Double to)
Delegates to the corresponding type-specific method.
|
abstract DoubleBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
java.lang.Double |
last()
Delegates to the corresponding type-specific method.
|
DoubleSortedSet |
subSet(java.lang.Double from,
java.lang.Double to)
Delegates to the corresponding type-specific method.
|
DoubleSortedSet |
tailSet(java.lang.Double from)
Delegates to the corresponding type-specific method.
|
equals, hashCode, rem, remove, remove
add, add, addAll, addAll, contains, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toDoubleArray, toDoubleArray, toString
comparator, firstDouble, headSet, iterator, lastDouble, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toDoubleArray, toDoubleArray
public DoubleSortedSet headSet(java.lang.Double to)
headSet
in interface DoubleSortedSet
headSet
in interface java.util.SortedSet<java.lang.Double>
SortedSet.headSet(Object)
public DoubleSortedSet tailSet(java.lang.Double from)
tailSet
in interface DoubleSortedSet
tailSet
in interface java.util.SortedSet<java.lang.Double>
SortedSet.tailSet(Object)
public DoubleSortedSet subSet(java.lang.Double from, java.lang.Double to)
subSet
in interface DoubleSortedSet
subSet
in interface java.util.SortedSet<java.lang.Double>
SortedSet.subSet(Object,Object)
public java.lang.Double first()
first
in interface java.util.SortedSet<java.lang.Double>
public java.lang.Double last()
last
in interface java.util.SortedSet<java.lang.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 java.lang.Iterable<java.lang.Double>
iterator
in interface java.util.Collection<java.lang.Double>
iterator
in interface java.util.Set<java.lang.Double>
iterator
in class AbstractDoubleSet