LongIterable
, ObjectLongMap<K>
, PrimitiveIterable
AbstractImmutableObjectLongMap
public interface ImmutableObjectLongMap<K> extends ObjectLongMap<K>
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableCollection<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.
|
ImmutableLongObjectMap<K> |
flipUniqueValues() |
Return the LongObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableObjectLongMap<K> |
newWithKeyValue(K key,
long value) |
|
ImmutableObjectLongMap<K> |
newWithoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
ImmutableObjectLongMap<K> |
newWithoutKey(K key) |
|
ImmutableLongCollection |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableObjectLongMap<K> |
reject(ObjectLongPredicate<? super K> predicate) |
|
ImmutableLongCollection |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
ImmutableObjectLongMap<K> |
select(ObjectLongPredicate<? super K> predicate) |
|
default ImmutableObjectLongMap<K> |
tap(LongProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
ImmutableObjectLongMap<K> select(ObjectLongPredicate<? super K> predicate)
select
in interface ObjectLongMap<K>
ImmutableObjectLongMap<K> reject(ObjectLongPredicate<? super K> predicate)
reject
in interface ObjectLongMap<K>
ImmutableLongCollection select(LongPredicate predicate)
LongIterable
select
in interface LongIterable
ImmutableLongCollection reject(LongPredicate predicate)
LongIterable
reject
in interface LongIterable
default ImmutableObjectLongMap<K> tap(LongProcedure procedure)
tap
in interface LongIterable
tap
in interface ObjectLongMap<K>
<V> ImmutableCollection<V> collect(LongToObjectFunction<? extends V> function)
LongIterable
collect
in interface LongIterable
ImmutableObjectLongMap<K> newWithKeyValue(K key, long value)
ImmutableObjectLongMap<K> newWithoutKey(K key)
ImmutableObjectLongMap<K> newWithoutAllKeys(java.lang.Iterable<? extends K> keys)
ImmutableLongObjectMap<K> flipUniqueValues()
ObjectLongMap
flipUniqueValues
in interface ObjectLongMap<K>
Copyright © 2004–2017. All rights reserved.