public interface MutableDoubleBag extends MutableDoubleCollection, DoubleBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(double item,
int occurrences) |
MutableDoubleBag |
asSynchronized() |
MutableDoubleBag |
asUnmodifiable() |
<V> MutableBag<V> |
collect(DoubleToObjectFunction<? extends V> function) |
MutableDoubleBag |
reject(DoublePredicate predicate) |
boolean |
removeOccurrences(double item,
int occurrences) |
MutableDoubleBag |
select(DoublePredicate predicate) |
ImmutableDoubleBag |
toImmutable()
Returns an immutable copy of this bag.
|
MutableDoubleBag |
with(double element) |
MutableDoubleBag |
withAll(DoubleIterable elements) |
MutableDoubleBag |
without(double element) |
MutableDoubleBag |
withoutAll(DoubleIterable elements) |
add, addAll, addAll, clear, doubleIterator, 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(double item,
int occurrences)
boolean removeOccurrences(double item,
int occurrences)
MutableDoubleBag select(DoublePredicate predicate)
select in interface DoubleBagselect in interface DoubleIterableselect in interface MutableDoubleCollectionMutableDoubleBag reject(DoublePredicate predicate)
reject in interface DoubleBagreject in interface DoubleIterablereject in interface MutableDoubleCollection<V> MutableBag<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface DoubleBagcollect in interface DoubleIterablecollect in interface MutableDoubleCollectionMutableDoubleBag with(double element)
with in interface MutableDoubleCollectionMutableDoubleBag without(double element)
without in interface MutableDoubleCollectionMutableDoubleBag withAll(DoubleIterable elements)
withAll in interface MutableDoubleCollectionMutableDoubleBag withoutAll(DoubleIterable elements)
withoutAll in interface MutableDoubleCollectionMutableDoubleBag asUnmodifiable()
asUnmodifiable in interface MutableDoubleCollectionMutableDoubleBag asSynchronized()
asSynchronized in interface MutableDoubleCollectionImmutableDoubleBag toImmutable()
toImmutable in interface DoubleBagtoImmutable in interface MutableDoubleCollectionCopyright © 2004–2017. All rights reserved.