DoubleIterable
, DoubleSet
, MutableDoubleCollection
, PrimitiveIterable
AbstractMutableDoubleKeySet
, DoubleHashSet
, SynchronizedDoubleSet
, UnmodifiableDoubleSet
public interface MutableDoubleSet extends MutableDoubleCollection, DoubleSet
Modifier and Type | Method | Description |
---|---|---|
MutableDoubleSet |
asSynchronized() |
|
MutableDoubleSet |
asUnmodifiable() |
|
<V> MutableSet<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.
|
DoubleSet |
freeze() |
Returns a frozen copy of this set.
|
default MutableDoubleSet |
newEmpty() |
Creates a new empty mutable version of the same Set type.
|
MutableDoubleSet |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
MutableDoubleSet |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default MutableDoubleSet |
tap(DoubleProcedure procedure) |
|
ImmutableDoubleSet |
toImmutable() |
Returns an immutable copy of this set.
|
MutableDoubleSet |
with(double element) |
|
MutableDoubleSet |
withAll(DoubleIterable elements) |
|
MutableDoubleSet |
without(double element) |
|
MutableDoubleSet |
withoutAll(DoubleIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
equals, hashCode
add, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAll
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
MutableDoubleSet select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
select
in interface DoubleSet
select
in interface MutableDoubleCollection
MutableDoubleSet reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
reject
in interface DoubleSet
reject
in interface MutableDoubleCollection
default MutableDoubleSet tap(DoubleProcedure procedure)
tap
in interface DoubleIterable
tap
in interface DoubleSet
tap
in interface MutableDoubleCollection
<V> MutableSet<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
collect
in interface DoubleSet
collect
in interface MutableDoubleCollection
MutableDoubleSet with(double element)
with
in interface MutableDoubleCollection
MutableDoubleSet without(double element)
without
in interface MutableDoubleCollection
MutableDoubleSet withAll(DoubleIterable elements)
withAll
in interface MutableDoubleCollection
MutableDoubleSet withoutAll(DoubleIterable elements)
withoutAll
in interface MutableDoubleCollection
MutableDoubleSet asUnmodifiable()
asUnmodifiable
in interface MutableDoubleCollection
MutableDoubleSet asSynchronized()
asSynchronized
in interface MutableDoubleCollection
DoubleSet freeze()
ImmutableDoubleSet toImmutable()
toImmutable
in interface DoubleSet
toImmutable
in interface MutableDoubleCollection
default MutableDoubleSet newEmpty()
newEmpty
in interface MutableDoubleCollection
Copyright © 2004–2019. All rights reserved.