public interface ImmutableObjectIntMap<K> extends ObjectIntMap<K>
Modifier and Type | Method and 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.
|
ImmutableObjectIntMap<K> |
newWithKeyValue(K key,
int value) |
ImmutableObjectIntMap<K> |
newWithoutAllKeys(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) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, 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
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
<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(Iterable<? extends K> keys)
Copyright © 2004–2017. All rights reserved.