DoubleIterable
, DoubleValuesMap
, IntDoubleMap
, PrimitiveIterable
public interface ImmutableIntDoubleMap extends IntDoubleMap
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableBag<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.
|
ImmutableDoubleIntMap |
flipUniqueValues() |
Return the DoubleIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableIntDoubleMap |
newWithKeyValue(int key,
double value) |
|
ImmutableIntDoubleMap |
newWithoutAllKeys(IntIterable keys) |
|
ImmutableIntDoubleMap |
newWithoutKey(int key) |
|
ImmutableDoubleBag |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
ImmutableIntDoubleMap |
reject(IntDoublePredicate predicate) |
|
ImmutableDoubleBag |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
ImmutableIntDoubleMap |
select(IntDoublePredicate predicate) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsValue, forEachValue, tap, values
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
ImmutableIntDoubleMap select(IntDoublePredicate predicate)
select
in interface IntDoubleMap
ImmutableIntDoubleMap reject(IntDoublePredicate predicate)
reject
in interface IntDoubleMap
ImmutableDoubleBag select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
select
in interface DoubleValuesMap
ImmutableDoubleBag reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
reject
in interface DoubleValuesMap
<V> ImmutableBag<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
collect
in interface DoubleValuesMap
ImmutableIntDoubleMap newWithKeyValue(int key, double value)
ImmutableIntDoubleMap newWithoutKey(int key)
ImmutableIntDoubleMap newWithoutAllKeys(IntIterable keys)
ImmutableDoubleIntMap flipUniqueValues()
IntDoubleMap
flipUniqueValues
in interface IntDoubleMap
Copyright © 2004–2019. All rights reserved.