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