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.
|
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, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, 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
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)
Copyright © 2004–2017. All rights reserved.