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 |
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, 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
containsValue, forEachValue, 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)
Copyright © 2004–2017. All rights reserved.