IntIterable
, IntValuesMap
, LongIntMap
, PrimitiveIterable
public interface ImmutableLongIntMap extends LongIntMap
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.
|
ImmutableIntLongMap |
flipUniqueValues() |
Return the IntLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableLongIntMap |
newWithKeyValue(long key,
int value) |
|
ImmutableLongIntMap |
newWithoutAllKeys(LongIterable keys) |
|
ImmutableLongIntMap |
newWithoutKey(long key) |
|
ImmutableIntBag |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableLongIntMap |
reject(LongIntPredicate predicate) |
|
ImmutableIntBag |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
ImmutableLongIntMap |
select(LongIntPredicate predicate) |
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
containsValue, forEachValue, tap, values
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
ImmutableLongIntMap select(LongIntPredicate predicate)
select
in interface LongIntMap
ImmutableLongIntMap reject(LongIntPredicate predicate)
reject
in interface LongIntMap
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
ImmutableLongIntMap newWithKeyValue(long key, int value)
ImmutableLongIntMap newWithoutKey(long key)
ImmutableLongIntMap newWithoutAllKeys(LongIterable keys)
ImmutableIntLongMap flipUniqueValues()
LongIntMap
flipUniqueValues
in interface LongIntMap
Copyright © 2004–2018. All rights reserved.