DoubleIterable
, PrimitiveIterable
MutableDoubleBag
, MutableDoubleList
, MutableDoubleSet
AbstractMutableDoubleKeySet
, AbstractSynchronizedDoubleCollection
, AbstractUnmodifiableDoubleCollection
, DoubleArrayList
, DoubleHashBag
, DoubleHashSet
, SynchronizedDoubleBag
, SynchronizedDoubleCollection
, SynchronizedDoubleList
, SynchronizedDoubleSet
, UnmodifiableDoubleBag
, UnmodifiableDoubleCollection
, UnmodifiableDoubleList
, UnmodifiableDoubleSet
public 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.
|
ImmutableDoubleCollection |
toImmutable() |
|
MutableDoubleCollection |
with(double element) |
|
MutableDoubleCollection |
withAll(DoubleIterable elements) |
|
MutableDoubleCollection |
without(double element) |
|
MutableDoubleCollection |
withoutAll(DoubleIterable elements) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableDoubleIterator doubleIterator()
DoubleIterable
doubleIterator
in interface DoubleIterable
boolean 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)
DoubleIterable
select
in interface DoubleIterable
MutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
<V> MutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
MutableDoubleCollection with(double element)
MutableDoubleCollection without(double element)
MutableDoubleCollection withAll(DoubleIterable elements)
MutableDoubleCollection withoutAll(DoubleIterable elements)
MutableDoubleCollection asUnmodifiable()
MutableDoubleCollection asSynchronized()
ImmutableDoubleCollection toImmutable()
Copyright © 2004–2017. All rights reserved.