DoubleIterable, PrimitiveIterableMutableDoubleBag, MutableDoubleList, MutableDoubleSetAbstractMutableDoubleKeySet, AbstractSynchronizedDoubleCollection, AbstractUnmodifiableDoubleCollection, DoubleArrayList, DoubleHashBag, DoubleHashSet, SynchronizedDoubleBag, SynchronizedDoubleCollection, SynchronizedDoubleList, SynchronizedDoubleSet, UnmodifiableDoubleBag, UnmodifiableDoubleCollection, UnmodifiableDoubleList, UnmodifiableDoubleSetpublic interface MutableDoubleCollection extends DoubleIterable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(double element) |
|
boolean |
addAll(double... source) |
|
boolean |
addAll(DoubleIterable source) |
|
MutableDoubleCollection |
asSynchronized() |
|
MutableDoubleCollection |
asUnmodifiable() |
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableDoubleIterator |
doubleIterator() |
Returns a primitive iterator that can be used to iterate over the DoubleIterable in an
imperative style.
|
MutableDoubleCollection |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
boolean |
remove(double value) |
|
boolean |
removeAll(double... source) |
|
boolean |
removeAll(DoubleIterable source) |
|
boolean |
retainAll(double... source) |
|
boolean |
retainAll(DoubleIterable elements) |
|
MutableDoubleCollection |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default MutableDoubleCollection |
tap(DoubleProcedure procedure) |
|
ImmutableDoubleCollection |
toImmutable() |
|
MutableDoubleCollection |
with(double element) |
|
MutableDoubleCollection |
withAll(DoubleIterable elements) |
|
MutableDoubleCollection |
without(double element) |
|
MutableDoubleCollection |
withoutAll(DoubleIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableDoubleIterator doubleIterator()
DoubleIterabledoubleIterator in interface DoubleIterableboolean add(double element)
boolean addAll(double... source)
boolean addAll(DoubleIterable source)
boolean remove(double value)
boolean removeAll(DoubleIterable source)
boolean removeAll(double... source)
boolean retainAll(DoubleIterable elements)
Collection.retainAll(Collection)boolean retainAll(double... source)
Collection.retainAll(Collection)void clear()
MutableDoubleCollection select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableMutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterable<V> MutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterableMutableDoubleCollection with(double element)
MutableDoubleCollection without(double element)
MutableDoubleCollection withAll(DoubleIterable elements)
MutableDoubleCollection withoutAll(DoubleIterable elements)
MutableDoubleCollection asUnmodifiable()
MutableDoubleCollection asSynchronized()
ImmutableDoubleCollection toImmutable()
default MutableDoubleCollection tap(DoubleProcedure procedure)
tap in interface DoubleIterableCopyright © 2004–2017. All rights reserved.