public class SynchronizedFloatBag extends AbstractSynchronizedFloatCollection implements 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| Constructor and Description |
|---|
SynchronizedFloatBag(MutableFloatBag bag) |
SynchronizedFloatBag(MutableFloatBag bag,
Object newLock) |
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, toStringselectDuplicates, tapadd, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAlltoStringOfItemToCountallSatisfy, 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, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic SynchronizedFloatBag(MutableFloatBag bag)
public SynchronizedFloatBag(MutableFloatBag bag, Object newLock)
public SynchronizedFloatBag with(float element)
with in interface MutableFloatBagwith in interface MutableFloatCollectionwith in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag without(float element)
without in interface MutableFloatBagwithout in interface MutableFloatCollectionwithout in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag withAll(FloatIterable elements)
withAll in interface MutableFloatBagwithAll in interface MutableFloatCollectionwithAll in class AbstractSynchronizedFloatCollectionpublic SynchronizedFloatBag withoutAll(FloatIterable elements)
withoutAll in interface MutableFloatBagwithoutAll in interface MutableFloatCollectionwithoutAll in class AbstractSynchronizedFloatCollectionpublic void addOccurrences(float item,
int occurrences)
addOccurrences in interface MutableFloatBagpublic boolean removeOccurrences(float item,
int occurrences)
removeOccurrences in interface MutableFloatBagpublic int sizeDistinct()
sizeDistinct in interface FloatBagpublic int occurrencesOf(float item)
occurrencesOf in interface FloatBagpublic void forEachWithOccurrences(FloatIntProcedure procedure)
forEachWithOccurrences in interface FloatBagpublic MutableFloatBag select(FloatPredicate predicate)
select in interface FloatBagselect in interface MutableFloatBagselect in interface MutableFloatCollectionselect in interface FloatIterableselect in class AbstractSynchronizedFloatCollectionpublic MutableFloatBag selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface FloatBagselectByOccurrences in interface MutableFloatBagpublic MutableFloatSet selectUnique()
selectUnique in interface FloatBagselectUnique in interface MutableFloatBagpublic MutableList<FloatIntPair> topOccurrences(int count)
topOccurrences in interface FloatBagtopOccurrences in interface MutableFloatBagpublic MutableList<FloatIntPair> bottomOccurrences(int count)
bottomOccurrences in interface FloatBagbottomOccurrences in interface MutableFloatBagpublic MutableFloatBag reject(FloatPredicate predicate)
reject in interface FloatBagreject in interface MutableFloatBagreject in interface MutableFloatCollectionreject in interface FloatIterablereject in class AbstractSynchronizedFloatCollectionpublic <V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface FloatBagcollect in interface MutableFloatBagcollect in interface MutableFloatCollectioncollect in interface FloatIterablecollect in class AbstractSynchronizedFloatCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public LazyFloatIterable asLazy()
asLazy in interface FloatIterableasLazy in class AbstractSynchronizedFloatCollectionpublic MutableFloatBag asUnmodifiable()
asUnmodifiable in interface MutableFloatBagasUnmodifiable in interface MutableFloatCollectionasUnmodifiable in class AbstractSynchronizedFloatCollectionpublic MutableFloatBag asSynchronized()
asSynchronized in interface MutableFloatBagasSynchronized in interface MutableFloatCollectionasSynchronized in class AbstractSynchronizedFloatCollectionpublic ImmutableFloatBag toImmutable()
toImmutable in interface FloatBagtoImmutable in interface MutableFloatBagtoImmutable in interface MutableFloatCollectiontoImmutable in class AbstractSynchronizedFloatCollectionpublic MutableFloatBag newEmpty()
newEmpty in interface MutableFloatBagnewEmpty in interface MutableFloatCollectionCopyright © 2004–2022. All rights reserved.