@ThreadSafe public final class SynchronizedFloatBag extends AbstractSynchronizedFloatCollection implements org.eclipse.collections.api.bag.primitive.MutableFloatBag
MutableFloatBag. 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 synchronizedPrimitiveBag.stg.
MutableFloatBag.asSynchronized(),
MutableBag.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(float item,
int occurrences) |
org.eclipse.collections.api.LazyFloatIterable |
asLazy() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
asSynchronized() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
asUnmodifiable() |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
equals(Object otherBag) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.FloatIntProcedure procedure) |
int |
hashCode() |
int |
occurrencesOf(float item) |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
removeOccurrences(float item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.primitive.ImmutableFloatBag |
toImmutable() |
SynchronizedFloatBag |
with(float element) |
SynchronizedFloatBag |
withAll(org.eclipse.collections.api.FloatIterable elements) |
SynchronizedFloatBag |
without(float element) |
SynchronizedFloatBag |
withoutAll(org.eclipse.collections.api.FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringadd, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic SynchronizedFloatBag with(float element)
with in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwith in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwith in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag without(float element)
without in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwithout in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag withAll(org.eclipse.collections.api.FloatIterable elements)
withAll in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwithAll in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwithAll in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag withoutAll(org.eclipse.collections.api.FloatIterable elements)
withoutAll in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwithoutAll in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwithoutAll in class AbstractSynchronizedFloatCollectionpublic void addOccurrences(float item,
int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagpublic boolean removeOccurrences(float item,
int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagpublic int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.primitive.FloatBagpublic int occurrencesOf(float item)
occurrencesOf in interface org.eclipse.collections.api.bag.primitive.FloatBagpublic void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.FloatIntProcedure procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.primitive.FloatBagpublic org.eclipse.collections.api.bag.primitive.MutableFloatBag select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface org.eclipse.collections.api.bag.primitive.FloatBagselect in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagselect in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionselect in interface org.eclipse.collections.api.FloatIterableselect in class AbstractSynchronizedFloatCollectionpublic org.eclipse.collections.api.bag.primitive.MutableFloatBag reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface org.eclipse.collections.api.bag.primitive.FloatBagreject in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagreject in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionreject in interface org.eclipse.collections.api.FloatIterablereject in class AbstractSynchronizedFloatCollectionpublic <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.bag.primitive.FloatBagcollect in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagcollect in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectioncollect in interface org.eclipse.collections.api.FloatIterablecollect in class AbstractSynchronizedFloatCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.LazyFloatIterable asLazy()
asLazy in interface org.eclipse.collections.api.FloatIterableasLazy in class AbstractSynchronizedFloatCollectionpublic org.eclipse.collections.api.bag.primitive.MutableFloatBag asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagasUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionasUnmodifiable in class AbstractSynchronizedFloatCollectionpublic org.eclipse.collections.api.bag.primitive.MutableFloatBag asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagasSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionasSynchronized in class AbstractSynchronizedFloatCollectionpublic org.eclipse.collections.api.bag.primitive.ImmutableFloatBag toImmutable()
toImmutable in interface org.eclipse.collections.api.bag.primitive.FloatBagtoImmutable in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagtoImmutable in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectiontoImmutable in class AbstractSynchronizedFloatCollectionCopyright © 2004–2017. All rights reserved.