IntIterable
, ObjectIntMap<K>
, PrimitiveIterable
AbstractImmutableObjectIntMap
public interface ImmutableObjectIntMap<K> extends ObjectIntMap<K>
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableCollection<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.
|
ImmutableIntObjectMap<K> |
flipUniqueValues() |
Return the IntObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableObjectIntMap<K> |
newWithKeyValue(K key,
int value) |
|
ImmutableObjectIntMap<K> |
newWithoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
ImmutableObjectIntMap<K> |
newWithoutKey(K key) |
|
ImmutableIntCollection |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableObjectIntMap<K> |
reject(ObjectIntPredicate<? super K> predicate) |
|
ImmutableIntCollection |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
ImmutableObjectIntMap<K> |
select(ObjectIntPredicate<? super K> predicate) |
|
default ImmutableObjectIntMap<K> |
tap(IntProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
ImmutableObjectIntMap<K> select(ObjectIntPredicate<? super K> predicate)
select
in interface ObjectIntMap<K>
ImmutableObjectIntMap<K> reject(ObjectIntPredicate<? super K> predicate)
reject
in interface ObjectIntMap<K>
ImmutableIntCollection select(IntPredicate predicate)
IntIterable
select
in interface IntIterable
ImmutableIntCollection reject(IntPredicate predicate)
IntIterable
reject
in interface IntIterable
default ImmutableObjectIntMap<K> tap(IntProcedure procedure)
tap
in interface IntIterable
tap
in interface ObjectIntMap<K>
<V> ImmutableCollection<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface IntIterable
ImmutableObjectIntMap<K> newWithKeyValue(K key, int value)
ImmutableObjectIntMap<K> newWithoutKey(K key)
ImmutableObjectIntMap<K> newWithoutAllKeys(java.lang.Iterable<? extends K> keys)
ImmutableIntObjectMap<K> flipUniqueValues()
ObjectIntMap
flipUniqueValues
in interface ObjectIntMap<K>
Copyright © 2004–2017. All rights reserved.