IntShortMap
, PrimitiveIterable
, ShortIterable
, ShortValuesMap
public interface ImmutableIntShortMap extends IntShortMap
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.
|
ImmutableShortIntMap |
flipUniqueValues() |
Return the ShortIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableIntShortMap |
newWithKeyValue(int key,
short value) |
|
ImmutableIntShortMap |
newWithoutAllKeys(IntIterable keys) |
|
ImmutableIntShortMap |
newWithoutKey(int key) |
|
ImmutableIntShortMap |
reject(IntShortPredicate predicate) |
|
ImmutableShortBag |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableIntShortMap |
select(IntShortPredicate 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, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsValue, forEachValue, tap, values
ImmutableIntShortMap select(IntShortPredicate predicate)
select
in interface IntShortMap
ImmutableIntShortMap reject(IntShortPredicate predicate)
reject
in interface IntShortMap
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
ImmutableIntShortMap newWithKeyValue(int key, short value)
ImmutableIntShortMap newWithoutKey(int key)
ImmutableIntShortMap newWithoutAllKeys(IntIterable keys)
ImmutableShortIntMap flipUniqueValues()
IntShortMap
flipUniqueValues
in interface IntShortMap
Copyright © 2004–2019. All rights reserved.