public abstract class AbstractFloatSortedSet extends AbstractFloatSet implements FloatSortedSet
Modifier and Type | Method and Description |
---|---|
Float |
first()
Delegates to the corresponding type-specific method.
|
FloatBidirectionalIterator |
floatIterator()
Deprecated.
|
FloatSortedSet |
headSet(Float to)
Delegates to the corresponding type-specific method.
|
abstract FloatBidirectionalIterator |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
Float |
last()
Delegates to the corresponding type-specific method.
|
FloatSortedSet |
subSet(Float from,
Float to)
Delegates to the corresponding type-specific method.
|
FloatSortedSet |
tailSet(Float 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, toFloatArray, toFloatArray, toString
clear, size
comparator, firstFloat, headSet, iterator, lastFloat, subSet, tailSet
add, addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toArray, toFloatArray, toFloatArray
public FloatSortedSet headSet(Float to)
headSet
in interface FloatSortedSet
headSet
in interface SortedSet<Float>
SortedSet.headSet(Object)
public FloatSortedSet tailSet(Float from)
tailSet
in interface FloatSortedSet
tailSet
in interface SortedSet<Float>
SortedSet.tailSet(Object)
public FloatSortedSet subSet(Float from, Float to)
subSet
in interface FloatSortedSet
subSet
in interface SortedSet<Float>
SortedSet.subSet(Object,Object)
public Float first()
public Float last()
@Deprecated public FloatBidirectionalIterator floatIterator()
floatIterator
in interface FloatCollection
floatIterator
in interface FloatSortedSet
floatIterator
in class AbstractFloatCollection
FloatCollection.iterator()
public abstract FloatBidirectionalIterator iterator()
FloatCollection
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 FloatCollection
iterator
in interface FloatIterable
iterator
in interface FloatSet
iterator
in interface FloatSortedSet
iterator
in interface Iterable<Float>
iterator
in interface Collection<Float>
iterator
in interface Set<Float>
iterator
in class AbstractFloatSet