public interface ImmutableIntIntMap extends IntIntMap
| Modifier and Type | Method and 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, toStringcontainsValue, forEachValue, tap, valuesallSatisfy, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeImmutableIntIntMap select(IntIntPredicate predicate)
ImmutableIntIntMap reject(IntIntPredicate predicate)
ImmutableIntBag select(IntPredicate predicate)
IntIterableselect in interface IntIterableselect in interface IntValuesMapImmutableIntBag reject(IntPredicate predicate)
IntIterablereject in interface IntIterablereject in interface IntValuesMap<V> ImmutableBag<V> collect(IntToObjectFunction<? extends V> function)
IntIterablecollect in interface IntIterablecollect in interface IntValuesMapImmutableIntIntMap newWithKeyValue(int key, int value)
ImmutableIntIntMap newWithoutKey(int key)
ImmutableIntIntMap newWithoutAllKeys(IntIterable keys)
ImmutableIntIntMap flipUniqueValues()
IntIntMapflipUniqueValues in interface IntIntMapCopyright © 2004–2017. All rights reserved.