@ThreadSafe public final class SynchronizedFloatSet extends AbstractSynchronizedFloatCollection implements com.gs.collections.api.set.primitive.MutableFloatSet
MutableFloatSet. It is imperative that the user manually synchronize on the collection when iterating over it using the
FloatIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveSet.stg.
MutableFloatSet.asSynchronized(),
MutableSet.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.LazyFloatIterable |
asLazy() |
com.gs.collections.api.set.primitive.MutableFloatSet |
asSynchronized() |
com.gs.collections.api.set.primitive.MutableFloatSet |
asUnmodifiable() |
<V> com.gs.collections.api.set.MutableSet<V> |
collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
equals(java.lang.Object otherSet)
Follows the same general contract as
Set.equals(Object). |
com.gs.collections.api.set.primitive.FloatSet |
freeze()
Returns a frozen copy of this set.
|
int |
hashCode()
Follows the same general contract as
Set.hashCode(). |
<T> T |
injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function) |
static SynchronizedFloatSet |
of(com.gs.collections.api.set.primitive.MutableFloatSet set)
This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet.
|
static SynchronizedFloatSet |
of(com.gs.collections.api.set.primitive.MutableFloatSet set,
java.lang.Object lock)
This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet.
|
com.gs.collections.api.set.primitive.MutableFloatSet |
reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
com.gs.collections.api.set.primitive.MutableFloatSet |
select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
com.gs.collections.api.set.primitive.ImmutableFloatSet |
toImmutable()
Returns an immutable copy of this set.
|
SynchronizedFloatSet |
with(float element) |
SynchronizedFloatSet |
withAll(com.gs.collections.api.FloatIterable elements) |
SynchronizedFloatSet |
without(float element) |
SynchronizedFloatSet |
withoutAll(com.gs.collections.api.FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, getFloatCollection, getLock, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, floatIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic static SynchronizedFloatSet of(com.gs.collections.api.set.primitive.MutableFloatSet set)
public static SynchronizedFloatSet of(com.gs.collections.api.set.primitive.MutableFloatSet set, java.lang.Object lock)
public SynchronizedFloatSet without(float element)
without in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithout in interface com.gs.collections.api.set.primitive.MutableFloatSetwithout in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatSet with(float element)
with in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwith in interface com.gs.collections.api.set.primitive.MutableFloatSetwith in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatSet withAll(com.gs.collections.api.FloatIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithAll in interface com.gs.collections.api.set.primitive.MutableFloatSetwithAll in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatSet withoutAll(com.gs.collections.api.FloatIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionwithoutAll in interface com.gs.collections.api.set.primitive.MutableFloatSetwithoutAll in class AbstractSynchronizedFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet select(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionselect in interface com.gs.collections.api.FloatIterableselect in interface com.gs.collections.api.set.primitive.FloatSetselect in interface com.gs.collections.api.set.primitive.MutableFloatSetselect in class AbstractSynchronizedFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet reject(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionreject in interface com.gs.collections.api.FloatIterablereject in interface com.gs.collections.api.set.primitive.FloatSetreject in interface com.gs.collections.api.set.primitive.MutableFloatSetreject in class AbstractSynchronizedFloatCollectionpublic <V> com.gs.collections.api.set.MutableSet<V> collect(com.gs.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.collection.primitive.MutableFloatCollectioncollect in interface com.gs.collections.api.FloatIterablecollect in interface com.gs.collections.api.set.primitive.FloatSetcollect in interface com.gs.collections.api.set.primitive.MutableFloatSetcollect in class AbstractSynchronizedFloatCollectionpublic boolean equals(java.lang.Object otherSet)
com.gs.collections.api.set.primitive.FloatSetSet.equals(Object).equals in interface com.gs.collections.api.set.primitive.FloatSetequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.set.primitive.FloatSetSet.hashCode().hashCode in interface com.gs.collections.api.set.primitive.FloatSethashCode in class java.lang.Objectpublic com.gs.collections.api.LazyFloatIterable asLazy()
asLazy in interface com.gs.collections.api.FloatIterableasLazy in class AbstractSynchronizedFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasUnmodifiable in interface com.gs.collections.api.set.primitive.MutableFloatSetasUnmodifiable in class AbstractSynchronizedFloatCollectionpublic com.gs.collections.api.set.primitive.MutableFloatSet asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableFloatCollectionasSynchronized in interface com.gs.collections.api.set.primitive.MutableFloatSetasSynchronized in class AbstractSynchronizedFloatCollectionpublic com.gs.collections.api.set.primitive.FloatSet freeze()
com.gs.collections.api.set.primitive.MutableFloatSetfreeze in interface com.gs.collections.api.set.primitive.FloatSetfreeze in interface com.gs.collections.api.set.primitive.MutableFloatSetpublic com.gs.collections.api.set.primitive.ImmutableFloatSet toImmutable()
com.gs.collections.api.set.primitive.MutableFloatSettoImmutable in interface com.gs.collections.api.collection.primitive.MutableFloatCollectiontoImmutable in interface com.gs.collections.api.set.primitive.FloatSettoImmutable in interface com.gs.collections.api.set.primitive.MutableFloatSettoImmutable in class AbstractSynchronizedFloatCollectionpublic <T> T injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface com.gs.collections.api.FloatIterableinjectInto in class AbstractSynchronizedFloatCollection