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, retainAllequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinctallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addOccurrences(float item,
int occurrences)
boolean removeOccurrences(float item,
int occurrences)
MutableFloatBag select(FloatPredicate predicate)
select in interface FloatBagselect in interface FloatIterableselect in interface MutableFloatCollectionMutableFloatBag reject(FloatPredicate predicate)
reject in interface FloatBagreject in interface FloatIterablereject in interface MutableFloatCollection<V> MutableBag<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface FloatBagcollect in interface FloatIterablecollect in interface MutableFloatCollectionMutableFloatBag with(float element)
with in interface MutableFloatCollectionMutableFloatBag without(float element)
without in interface MutableFloatCollectionMutableFloatBag withAll(FloatIterable elements)
withAll in interface MutableFloatCollectionMutableFloatBag withoutAll(FloatIterable elements)
withoutAll in interface MutableFloatCollectionMutableFloatBag asUnmodifiable()
asUnmodifiable in interface MutableFloatCollectionMutableFloatBag asSynchronized()
asSynchronized in interface MutableFloatCollectionImmutableFloatBag toImmutable()
toImmutable in interface FloatBagtoImmutable in interface MutableFloatCollectionCopyright © 2004–2017. All rights reserved.