IntLongMap
, LongIterable
, LongValuesMap
, PrimitiveIterable
public interface ImmutableIntLongMap extends IntLongMap
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableBag<V> |
collect(LongToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableLongIntMap |
flipUniqueValues() |
Return the LongIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableIntLongMap |
newWithKeyValue(int key,
long value) |
|
ImmutableIntLongMap |
newWithoutAllKeys(IntIterable keys) |
|
ImmutableIntLongMap |
newWithoutKey(int key) |
|
ImmutableIntLongMap |
reject(IntLongPredicate predicate) |
|
ImmutableLongBag |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableIntLongMap |
select(IntLongPredicate predicate) |
|
ImmutableLongBag |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsValue, forEachValue, tap, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
ImmutableIntLongMap select(IntLongPredicate predicate)
select
in interface IntLongMap
ImmutableIntLongMap reject(IntLongPredicate predicate)
reject
in interface IntLongMap
ImmutableLongBag select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
select
in interface LongValuesMap
ImmutableLongBag reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
reject
in interface LongValuesMap
<V> ImmutableBag<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
collect
in interface LongValuesMap
ImmutableIntLongMap newWithKeyValue(int key, long value)
ImmutableIntLongMap newWithoutKey(int key)
ImmutableIntLongMap newWithoutAllKeys(IntIterable keys)
ImmutableLongIntMap flipUniqueValues()
IntLongMap
flipUniqueValues
in interface IntLongMap
Copyright © 2004–2019. All rights reserved.