IntIterable
, IntValuesMap
, PrimitiveIterable
, ShortIntMap
public interface ImmutableShortIntMap extends ShortIntMap
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableBag<V> |
collect(IntToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
ImmutableIntShortMap |
flipUniqueValues() |
Return the IntShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableShortIntMap |
newWithKeyValue(short key,
int value) |
|
ImmutableShortIntMap |
newWithoutAllKeys(ShortIterable keys) |
|
ImmutableShortIntMap |
newWithoutKey(short key) |
|
ImmutableIntBag |
reject(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableShortIntMap |
reject(ShortIntPredicate predicate) |
|
ImmutableIntBag |
select(IntPredicate predicate) |
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
ImmutableShortIntMap |
select(ShortIntPredicate 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, intIterator, 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
ImmutableShortIntMap select(ShortIntPredicate predicate)
select
in interface ShortIntMap
ImmutableShortIntMap reject(ShortIntPredicate predicate)
reject
in interface ShortIntMap
ImmutableIntBag select(IntPredicate predicate)
IntIterable
select
in interface IntIterable
select
in interface IntValuesMap
ImmutableIntBag reject(IntPredicate predicate)
IntIterable
reject
in interface IntIterable
reject
in interface IntValuesMap
<V> ImmutableBag<V> collect(IntToObjectFunction<? extends V> function)
IntIterable
collect
in interface IntIterable
collect
in interface IntValuesMap
ImmutableShortIntMap newWithKeyValue(short key, int value)
ImmutableShortIntMap newWithoutKey(short key)
ImmutableShortIntMap newWithoutAllKeys(ShortIterable keys)
ImmutableIntShortMap flipUniqueValues()
ShortIntMap
flipUniqueValues
in interface ShortIntMap
Copyright © 2004–2019. All rights reserved.