LongShortMap
, PrimitiveIterable
, ShortIterable
, ShortValuesMap
public interface ImmutableLongShortMap extends LongShortMap
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableBag<V> |
collect(ShortToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableLongShortMap |
newWithKeyValue(long key,
short value) |
|
ImmutableLongShortMap |
newWithoutAllKeys(LongIterable keys) |
|
ImmutableLongShortMap |
newWithoutKey(long key) |
|
ImmutableLongShortMap |
reject(LongShortPredicate predicate) |
|
ImmutableShortBag |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableLongShortMap |
select(LongShortPredicate predicate) |
|
ImmutableShortBag |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsValue, forEachValue, values
ImmutableLongShortMap select(LongShortPredicate predicate)
select
in interface LongShortMap
ImmutableLongShortMap reject(LongShortPredicate predicate)
reject
in interface LongShortMap
ImmutableShortBag select(ShortPredicate predicate)
ShortIterable
select
in interface ShortIterable
select
in interface ShortValuesMap
ImmutableShortBag reject(ShortPredicate predicate)
ShortIterable
reject
in interface ShortIterable
reject
in interface ShortValuesMap
<V> ImmutableBag<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterable
collect
in interface ShortIterable
collect
in interface ShortValuesMap
ImmutableLongShortMap newWithKeyValue(long key, short value)
ImmutableLongShortMap newWithoutKey(long key)
ImmutableLongShortMap newWithoutAllKeys(LongIterable keys)
Copyright © 2004–2017. All rights reserved.