Class SynchronizedFloatSet
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedFloatCollection
org.eclipse.collections.impl.set.mutable.primitive.SynchronizedFloatSet
- All Implemented Interfaces:
Serializable,MutableFloatCollection,FloatIterable,PrimitiveIterable,FloatSet,MutableFloatSet
public class SynchronizedFloatSet
extends AbstractSynchronizedFloatCollection
implements MutableFloatSet
A synchronized view of a
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.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLazy()boxed()cartesianProduct(FloatSet set) <V> MutableSet<V>collect(FloatToObjectFunction<? extends V> function) booleanfreeze()inthashCode()newEmpty()static SynchronizedFloatSetof(MutableFloatSet set) This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet.static SynchronizedFloatSetof(MutableFloatSet set, Object lock) This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet.reject(FloatPredicate predicate) select(FloatPredicate predicate) with(float element) withAll(FloatIterable elements) without(float element) withoutAll(FloatIterable elements) Methods inherited from class org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedFloatCollection
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, floatIterator, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringMethods inherited from interface org.eclipse.collections.api.FloatIterable
allSatisfy, anySatisfy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.set.primitive.FloatSet
isProperSubsetOf, isSubsetOfMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableFloatCollection
add, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllMethods inherited from interface org.eclipse.collections.api.set.primitive.MutableFloatSet
difference, intersect, symmetricDifference, tap, unionMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
-
Constructor Details
-
SynchronizedFloatSet
-
SynchronizedFloatSet
-
-
Method Details
-
of
This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet. -
of
This method will take a MutableFloatSet and wrap it directly in a SynchronizedFloatSet. Additionally, a developer specifies which lock to use with the collection. -
without
- Specified by:
withoutin interfaceMutableFloatCollection- Specified by:
withoutin interfaceMutableFloatSet- Overrides:
withoutin classAbstractSynchronizedFloatCollection
-
boxed
- Specified by:
boxedin interfaceMutableFloatSet
-
with
- Specified by:
within interfaceMutableFloatCollection- Specified by:
within interfaceMutableFloatSet- Overrides:
within classAbstractSynchronizedFloatCollection
-
withAll
- Specified by:
withAllin interfaceMutableFloatCollection- Specified by:
withAllin interfaceMutableFloatSet- Overrides:
withAllin classAbstractSynchronizedFloatCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableFloatCollection- Specified by:
withoutAllin interfaceMutableFloatSet- Overrides:
withoutAllin classAbstractSynchronizedFloatCollection
-
select
- Specified by:
selectin interfaceFloatIterable- Specified by:
selectin interfaceFloatSet- Specified by:
selectin interfaceMutableFloatCollection- Specified by:
selectin interfaceMutableFloatSet- Overrides:
selectin classAbstractSynchronizedFloatCollection
-
reject
- Specified by:
rejectin interfaceFloatIterable- Specified by:
rejectin interfaceFloatSet- Specified by:
rejectin interfaceMutableFloatCollection- Specified by:
rejectin interfaceMutableFloatSet- Overrides:
rejectin classAbstractSynchronizedFloatCollection
-
collect
- Specified by:
collectin interfaceFloatIterable- Specified by:
collectin interfaceFloatSet- Specified by:
collectin interfaceMutableFloatCollection- Specified by:
collectin interfaceMutableFloatSet- Overrides:
collectin classAbstractSynchronizedFloatCollection
-
cartesianProduct
- Specified by:
cartesianProductin interfaceFloatSet
-
equals
-
hashCode
public int hashCode() -
asLazy
- Specified by:
asLazyin interfaceFloatIterable- Overrides:
asLazyin classAbstractSynchronizedFloatCollection
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableFloatCollection- Specified by:
asUnmodifiablein interfaceMutableFloatSet- Overrides:
asUnmodifiablein classAbstractSynchronizedFloatCollection
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableFloatCollection- Specified by:
asSynchronizedin interfaceMutableFloatSet- Overrides:
asSynchronizedin classAbstractSynchronizedFloatCollection
-
freeze
- Specified by:
freezein interfaceFloatSet- Specified by:
freezein interfaceMutableFloatSet
-
toImmutable
- Specified by:
toImmutablein interfaceFloatSet- Specified by:
toImmutablein interfaceMutableFloatCollection- Specified by:
toImmutablein interfaceMutableFloatSet- Overrides:
toImmutablein classAbstractSynchronizedFloatCollection
-
newEmpty
- Specified by:
newEmptyin interfaceMutableFloatCollection- Specified by:
newEmptyin interfaceMutableFloatSet- Since:
- 9.2.
-