PrimitiveIterable
, ShortIterable
, ShortShortMap
, ShortValuesMap
public interface ImmutableShortShortMap extends ShortShortMap
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.
|
ImmutableShortShortMap |
flipUniqueValues() |
Return the ShortShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableShortShortMap |
newWithKeyValue(short key,
short value) |
|
ImmutableShortShortMap |
newWithoutAllKeys(ShortIterable keys) |
|
ImmutableShortShortMap |
newWithoutKey(short key) |
|
ImmutableShortBag |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableShortShortMap |
reject(ShortShortPredicate predicate) |
|
ImmutableShortBag |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
ImmutableShortShortMap |
select(ShortShortPredicate predicate) |
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, reject, select, shortIterator, 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
ImmutableShortShortMap select(ShortShortPredicate predicate)
select
in interface ShortShortMap
ImmutableShortShortMap reject(ShortShortPredicate predicate)
reject
in interface ShortShortMap
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
ImmutableShortShortMap newWithKeyValue(short key, short value)
ImmutableShortShortMap newWithoutKey(short key)
ImmutableShortShortMap newWithoutAllKeys(ShortIterable keys)
ImmutableShortShortMap flipUniqueValues()
ShortShortMap
flipUniqueValues
in interface ShortShortMap
Copyright © 2004–2018. All rights reserved.