public interface MutableFloatBag extends MutableFloatCollection, FloatBag
Modifier and Type | Method and Description |
---|---|
void |
addOccurrences(float item,
int occurrences) |
MutableFloatBag |
asSynchronized() |
MutableFloatBag |
asUnmodifiable() |
<V> MutableBag<V> |
collect(FloatToObjectFunction<? extends V> function) |
MutableFloatBag |
reject(FloatPredicate predicate) |
boolean |
removeOccurrences(float item,
int occurrences) |
MutableFloatBag |
select(FloatPredicate predicate) |
ImmutableFloatBag |
toImmutable()
Returns an immutable copy of this bag.
|
MutableFloatBag |
with(float element) |
MutableFloatBag |
withAll(FloatIterable elements) |
MutableFloatBag |
without(float element) |
MutableFloatBag |
withoutAll(FloatIterable elements) |
add, addAll, addAll, clear, floatIterator, remove, removeAll, removeAll, retainAll, retainAll
equals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void addOccurrences(float item, int occurrences)
boolean removeOccurrences(float item, int occurrences)
MutableFloatBag select(FloatPredicate predicate)
select
in interface FloatBag
select
in interface FloatIterable
select
in interface MutableFloatCollection
MutableFloatBag reject(FloatPredicate predicate)
reject
in interface FloatBag
reject
in interface FloatIterable
reject
in interface MutableFloatCollection
<V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
collect
in interface FloatBag
collect
in interface FloatIterable
collect
in interface MutableFloatCollection
MutableFloatBag with(float element)
with
in interface MutableFloatCollection
MutableFloatBag without(float element)
without
in interface MutableFloatCollection
MutableFloatBag withAll(FloatIterable elements)
withAll
in interface MutableFloatCollection
MutableFloatBag withoutAll(FloatIterable elements)
withoutAll
in interface MutableFloatCollection
MutableFloatBag asUnmodifiable()
asUnmodifiable
in interface MutableFloatCollection
MutableFloatBag asSynchronized()
asSynchronized
in interface MutableFloatCollection
ImmutableFloatBag toImmutable()
toImmutable
in interface FloatBag
toImmutable
in interface MutableFloatCollection
Copyright © 2004–2016. All rights reserved.