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