public interface MutableDoubleCollection extends DoubleIterable
| Modifier and Type | Method and 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.
|
default MutableDoubleCollection |
newEmpty()
Creates a new empty mutable version of the same collection type.
|
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) |
default boolean |
removeIf(DoublePredicate predicate) |
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, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, 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)
default boolean removeIf(DoublePredicate predicate)
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 DoubleIterabledefault MutableDoubleCollection newEmpty()
Copyright © 2004–2023. All rights reserved.