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