public interface ImmutableObjectShortMap<K> extends ObjectShortMap<K>
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableCollection<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.
|
ImmutableShortObjectMap<K> |
flipUniqueValues()
Return the ShortObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableObjectShortMap<K> |
newWithKeyValue(K key,
short value) |
ImmutableObjectShortMap<K> |
newWithoutAllKeys(Iterable<? extends K> keys) |
ImmutableObjectShortMap<K> |
newWithoutKey(K key) |
ImmutableObjectShortMap<K> |
reject(ObjectShortPredicate<? super K> predicate) |
ImmutableShortCollection |
reject(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
ImmutableObjectShortMap<K> |
select(ObjectShortPredicate<? super K> predicate) |
ImmutableShortCollection |
select(ShortPredicate predicate)
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
default ImmutableObjectShortMap<K> |
tap(ShortProcedure procedure) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeImmutableObjectShortMap<K> select(ObjectShortPredicate<? super K> predicate)
select in interface ObjectShortMap<K>ImmutableObjectShortMap<K> reject(ObjectShortPredicate<? super K> predicate)
reject in interface ObjectShortMap<K>ImmutableShortCollection select(ShortPredicate predicate)
ShortIterableselect in interface ShortIterableImmutableShortCollection reject(ShortPredicate predicate)
ShortIterablereject in interface ShortIterabledefault ImmutableObjectShortMap<K> tap(ShortProcedure procedure)
tap in interface ObjectShortMap<K>tap in interface ShortIterable<V> ImmutableCollection<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface ShortIterableImmutableObjectShortMap<K> newWithKeyValue(K key, short value)
ImmutableObjectShortMap<K> newWithoutKey(K key)
ImmutableObjectShortMap<K> newWithoutAllKeys(Iterable<? extends K> keys)
ImmutableShortObjectMap<K> flipUniqueValues()
ObjectShortMapflipUniqueValues in interface ObjectShortMap<K>Copyright © 2004–2017. All rights reserved.