public static class FloatSortedSets.SynchronizedSortedSet extends FloatSets.SynchronizedSet implements FloatSortedSet, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.floats.FloatCollection |
collection |
protected FloatSortedSet |
sortedSet |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedSortedSet(FloatSortedSet s) |
protected |
SynchronizedSortedSet(FloatSortedSet s,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(float arg0) |
boolean |
add(java.lang.Float arg0)
Deprecated.
|
boolean |
addAll(java.util.Collection<? extends java.lang.Float> arg0) |
boolean |
addAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0) |
void |
clear() |
it.unimi.dsi.fastutil.floats.FloatComparator |
comparator() |
boolean |
contains(float arg0) |
boolean |
contains(java.lang.Object arg0)
Deprecated.
|
boolean |
containsAll(java.util.Collection<?> arg0) |
boolean |
containsAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0) |
it.unimi.dsi.fastutil.doubles.DoubleIterator |
doubleIterator() |
java.util.stream.DoubleStream |
doubleParallelStream() |
it.unimi.dsi.fastutil.doubles.DoubleSpliterator |
doubleSpliterator() |
java.util.stream.DoubleStream |
doubleStream() |
boolean |
equals(java.lang.Object arg0) |
java.lang.Float |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
firstFloat()
Returns the first (lowest) element currently in this set.
|
void |
forEach(it.unimi.dsi.fastutil.floats.FloatConsumer arg0) |
int |
hashCode() |
FloatSortedSet |
headSet(float to)
Returns a view of the portion of this sorted set whose elements are strictly less than
toElement. |
FloatSortedSet |
headSet(java.lang.Float to)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
isEmpty() |
it.unimi.dsi.fastutil.floats.FloatBidirectionalIterator |
iterator()
Returns a type-specific
BidirectionalIterator on the elements in
this set. |
it.unimi.dsi.fastutil.floats.FloatBidirectionalIterator |
iterator(float from)
Returns a type-specific
BidirectionalIterator on the elements in
this set, starting from a given element of the domain (optional operation). |
java.lang.Float |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
lastFloat()
Returns the last (highest) element currently in this set.
|
java.util.stream.Stream<java.lang.Float> |
parallelStream()
Deprecated.
|
boolean |
remove(java.lang.Object arg0)
Deprecated.
|
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
removeAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0) |
boolean |
removeIf(it.unimi.dsi.fastutil.floats.FloatPredicate arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
boolean |
retainAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0) |
int |
size() |
it.unimi.dsi.fastutil.floats.FloatSpliterator |
spliterator() |
java.util.stream.Stream<java.lang.Float> |
stream()
Deprecated.
|
FloatSortedSet |
subSet(float from,
float to)
Returns a view of the portion of this sorted set whose elements range from
fromElement, inclusive, to toElement, exclusive. |
FloatSortedSet |
subSet(java.lang.Float from,
java.lang.Float to)
Deprecated.
Please use the corresponding type-specific method instead.
|
FloatSortedSet |
tailSet(float from)
Returns a view of the portion of this sorted set whose elements are greater than or equal to
fromElement. |
FloatSortedSet |
tailSet(java.lang.Float from)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Object[] |
toArray() |
float[] |
toArray(float[] arg0) |
<T> T[] |
toArray(T[] arg0) |
float[] |
toFloatArray() |
float[] |
toFloatArray(float[] arg0)
Deprecated.
|
java.lang.String |
toString() |
rem, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratoradd, contains, of, of, of, of, of, rem, remove, removeadd, addAll, contains, containsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toArray, toFloatArray, toFloatArrayprotected final FloatSortedSet sortedSet
protected final it.unimi.dsi.fastutil.floats.FloatCollection collection
protected final java.lang.Object sync
protected SynchronizedSortedSet(FloatSortedSet s, java.lang.Object sync)
protected SynchronizedSortedSet(FloatSortedSet s)
public it.unimi.dsi.fastutil.floats.FloatComparator comparator()
FloatSortedSetcomparator in interface FloatSortedSetcomparator in interface java.util.SortedSet<java.lang.Float>public FloatSortedSet subSet(float from, float to)
FloatSortedSetfromElement, inclusive, to toElement, exclusive.subSet in interface FloatSortedSetSortedSet.subSet(Object,Object)public FloatSortedSet headSet(float to)
FloatSortedSettoElement.headSet in interface FloatSortedSetSortedSet.headSet(Object)public FloatSortedSet tailSet(float from)
FloatSortedSetfromElement.tailSet in interface FloatSortedSetSortedSet.tailSet(Object)public it.unimi.dsi.fastutil.floats.FloatBidirectionalIterator iterator()
FloatSortedSetBidirectionalIterator on the elements in
this set.
This method returns a parameterised bidirectional iterator. The iterator can be moreover safely cast to a type-specific iterator.
iterator in interface it.unimi.dsi.fastutil.floats.FloatBidirectionalIterableiterator in interface it.unimi.dsi.fastutil.floats.FloatCollectioniterator in interface it.unimi.dsi.fastutil.floats.FloatIterableiterator in interface FloatSetiterator in interface FloatSortedSetiterator in interface java.lang.Iterable<java.lang.Float>iterator in interface java.util.Collection<java.lang.Float>iterator in interface java.util.Set<java.lang.Float>public it.unimi.dsi.fastutil.floats.FloatBidirectionalIterator iterator(float from)
FloatSortedSetBidirectionalIterator on the elements in
this set, starting from a given element of the domain (optional operation).
This method returns a type-specific bidirectional iterator with given
starting point. The starting point is any element comparable to the
elements of this set (even if it does not actually belong to the
set). The next element of the returned iterator is the least element of
the set that is greater than the starting point (if there are no
elements greater than the starting point, hasNext() will return
false). The previous element of the returned iterator is
the greatest element of the set that is smaller than or equal to the
starting point (if there are no elements smaller than or equal to the
starting point, hasPrevious() will return false).
Note that passing the last element of the set as starting point and
calling previous() you can traverse the
entire set in reverse order.
iterator in interface FloatSortedSetfrom - an element to start from.public float firstFloat()
FloatSortedSetfirstFloat in interface FloatSortedSetSortedSet.first()public float lastFloat()
FloatSortedSetlastFloat in interface FloatSortedSetSortedSet.last()@Deprecated public java.lang.Float first()
first in interface FloatSortedSetfirst in interface java.util.SortedSet<java.lang.Float>@Deprecated public java.lang.Float last()
last in interface FloatSortedSetlast in interface java.util.SortedSet<java.lang.Float>@Deprecated public FloatSortedSet subSet(java.lang.Float from, java.lang.Float to)
subSet in interface FloatSortedSetsubSet in interface java.util.SortedSet<java.lang.Float>@Deprecated public FloatSortedSet headSet(java.lang.Float to)
headSet in interface FloatSortedSetheadSet in interface java.util.SortedSet<java.lang.Float>@Deprecated public FloatSortedSet tailSet(java.lang.Float from)
tailSet in interface FloatSortedSettailSet in interface java.util.SortedSet<java.lang.Float>public boolean add(float arg0)
add in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic boolean contains(float arg0)
contains in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic int size()
size in interface java.util.Collection<java.lang.Float>public boolean isEmpty()
isEmpty in interface java.util.Collection<java.lang.Float>public float[] toFloatArray()
toFloatArray in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic java.lang.Object[] toArray()
toArray in interface java.util.Collection<java.lang.Float>@Deprecated public float[] toFloatArray(float[] arg0)
toFloatArray in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic float[] toArray(float[] arg0)
toArray in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic boolean addAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0)
addAll in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic boolean containsAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0)
containsAll in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic boolean removeAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0)
removeAll in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic boolean retainAll(it.unimi.dsi.fastutil.floats.FloatCollection arg0)
retainAll in interface it.unimi.dsi.fastutil.floats.FloatCollection@Deprecated public boolean add(java.lang.Float arg0)
add in interface it.unimi.dsi.fastutil.floats.FloatCollectionadd in interface java.util.Collection<java.lang.Float>@Deprecated public boolean contains(java.lang.Object arg0)
contains in interface it.unimi.dsi.fastutil.floats.FloatCollectioncontains in interface java.util.Collection<java.lang.Float>@Deprecated public boolean remove(java.lang.Object arg0)
remove in interface it.unimi.dsi.fastutil.floats.FloatCollectionremove in interface java.util.Collection<java.lang.Float>public it.unimi.dsi.fastutil.doubles.DoubleIterator doubleIterator()
doubleIterator in interface it.unimi.dsi.fastutil.floats.FloatCollectiondoubleIterator in interface it.unimi.dsi.fastutil.floats.FloatIterablepublic it.unimi.dsi.fastutil.doubles.DoubleSpliterator doubleSpliterator()
doubleSpliterator in interface it.unimi.dsi.fastutil.floats.FloatCollectiondoubleSpliterator in interface it.unimi.dsi.fastutil.floats.FloatIterablepublic java.util.stream.DoubleStream doubleStream()
doubleStream in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic java.util.stream.DoubleStream doubleParallelStream()
doubleParallelStream in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic <T> T[] toArray(T[] arg0)
toArray in interface java.util.Collection<java.lang.Float>public it.unimi.dsi.fastutil.floats.FloatSpliterator spliterator()
spliterator in interface it.unimi.dsi.fastutil.floats.FloatCollectionspliterator in interface it.unimi.dsi.fastutil.floats.FloatIterablespliterator in interface java.lang.Iterable<java.lang.Float>spliterator in interface java.util.Collection<java.lang.Float>@Deprecated public java.util.stream.Stream<java.lang.Float> stream()
stream in interface it.unimi.dsi.fastutil.floats.FloatCollectionstream in interface java.util.Collection<java.lang.Float>@Deprecated public java.util.stream.Stream<java.lang.Float> parallelStream()
parallelStream in interface it.unimi.dsi.fastutil.floats.FloatCollectionparallelStream in interface java.util.Collection<java.lang.Float>public void forEach(it.unimi.dsi.fastutil.floats.FloatConsumer arg0)
forEach in interface it.unimi.dsi.fastutil.floats.FloatIterablepublic boolean addAll(java.util.Collection<? extends java.lang.Float> arg0)
addAll in interface java.util.Collection<java.lang.Float>public boolean containsAll(java.util.Collection<?> arg0)
containsAll in interface java.util.Collection<java.lang.Float>public boolean removeAll(java.util.Collection<?> arg0)
removeAll in interface java.util.Collection<java.lang.Float>public boolean retainAll(java.util.Collection<?> arg0)
retainAll in interface java.util.Collection<java.lang.Float>public boolean removeIf(it.unimi.dsi.fastutil.floats.FloatPredicate arg0)
removeIf in interface it.unimi.dsi.fastutil.floats.FloatCollectionpublic void clear()
clear in interface java.util.Collection<java.lang.Float>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<java.lang.Float>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object arg0)
equals in interface java.util.Collection<java.lang.Float>equals in class java.lang.Object