@NotThreadSafe public final class UnmodifiableFloatBag extends AbstractUnmodifiableFloatCollection implements org.eclipse.collections.api.bag.primitive.MutableFloatBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(float item,
int occurrences) |
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() |
UnmodifiableFloatBag |
with(float element) |
UnmodifiableFloatBag |
withAll(org.eclipse.collections.api.FloatIterable elements) |
UnmodifiableFloatBag |
without(float element) |
UnmodifiableFloatBag |
withoutAll(org.eclipse.collections.api.FloatIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic UnmodifiableFloatBag with(float element)
with in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwith in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwith in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag without(float element)
without in interface org.eclipse.collections.api.bag.primitive.MutableFloatBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableFloatCollectionwithout in class AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag 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 AbstractUnmodifiableFloatCollectionpublic UnmodifiableFloatBag 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 AbstractUnmodifiableFloatCollectionpublic 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 AbstractUnmodifiableFloatCollectionpublic 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 AbstractUnmodifiableFloatCollectionpublic <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 AbstractUnmodifiableFloatCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public 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 AbstractUnmodifiableFloatCollectionpublic 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 AbstractUnmodifiableFloatCollectionpublic 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 AbstractUnmodifiableFloatCollectionCopyright © 2004–2017. All rights reserved.