public class UnmodifiableFloatBag extends AbstractUnmodifiableFloatCollection implements MutableFloatBag
| Constructor and Description |
|---|
UnmodifiableFloatBag(MutableFloatBag bag) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, 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 UnmodifiableFloatBag(MutableFloatBag bag)
public UnmodifiableFloatBag with(float element)
with in interface MutableFloatBagwith in interface MutableFloatCollectionwith in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag without(float element)
without in interface MutableFloatBagwithout in interface MutableFloatCollectionwithout in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag withAll(FloatIterable elements)
withAll in interface MutableFloatBagwithAll in interface MutableFloatCollectionwithAll in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag withoutAll(FloatIterable elements)
withoutAll in interface MutableFloatBagwithoutAll in interface MutableFloatCollectionwithoutAll in class AbstractUnmodifiableFloatCollectionpublic 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 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 select(FloatPredicate predicate)
select in interface FloatBagselect in interface MutableFloatBagselect in interface MutableFloatCollectionselect in interface FloatIterableselect in class AbstractUnmodifiableFloatCollectionpublic MutableFloatBag reject(FloatPredicate predicate)
reject in interface FloatBagreject in interface MutableFloatBagreject in interface MutableFloatCollectionreject in interface FloatIterablereject in class AbstractUnmodifiableFloatCollectionpublic <V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface FloatBagcollect in interface MutableFloatBagcollect in interface MutableFloatCollectioncollect in interface FloatIterablecollect in class AbstractUnmodifiableFloatCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public MutableFloatBag asUnmodifiable()
asUnmodifiable in interface MutableFloatBagasUnmodifiable in interface MutableFloatCollectionasUnmodifiable in class AbstractUnmodifiableFloatCollectionpublic MutableFloatBag asSynchronized()
asSynchronized in interface MutableFloatBagasSynchronized in interface MutableFloatCollectionasSynchronized in class AbstractUnmodifiableFloatCollectionpublic ImmutableFloatBag toImmutable()
toImmutable in interface FloatBagtoImmutable in interface MutableFloatBagtoImmutable in interface MutableFloatCollectiontoImmutable in class AbstractUnmodifiableFloatCollectionpublic MutableFloatBag newEmpty()
newEmpty in interface MutableFloatBagnewEmpty in interface MutableFloatCollectionCopyright © 2004–2022. All rights reserved.