PrimitiveIterable
, ShortIterable
ImmutableObjectShortMap<K>
, MutableObjectShortMap<K>
AbstractImmutableObjectShortMap
, ObjectShortHashMap
, ObjectShortHashMapWithHashingStrategy
, SynchronizedObjectShortMap
, UnmodifiableObjectShortMap
public interface ObjectShortMap<K> extends ShortIterable
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(short value) |
|
ShortObjectMap<K> |
flipUniqueValues() |
Return the ShortObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(Procedure<? super K> procedure) |
|
void |
forEachKeyValue(ObjectShortProcedure<? super K> procedure) |
|
void |
forEachValue(ShortProcedure procedure) |
|
short |
get(java.lang.Object key) |
|
short |
getIfAbsent(java.lang.Object key,
short ifAbsent) |
|
short |
getOrThrow(java.lang.Object key) |
|
java.util.Set<K> |
keySet() |
|
LazyIterable<K> |
keysView() |
|
RichIterable<ObjectShortPair<K>> |
keyValuesView() |
|
ObjectShortMap<K> |
reject(ObjectShortPredicate<? super K> predicate) |
|
ObjectShortMap<K> |
select(ObjectShortPredicate<? super K> predicate) |
|
default ObjectShortMap<K> |
tap(ShortProcedure procedure) |
|
ImmutableObjectShortMap<K> |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
MutableShortCollection |
values() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, 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, reject, select, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
short get(java.lang.Object key)
short getOrThrow(java.lang.Object key)
short getIfAbsent(java.lang.Object key, short ifAbsent)
boolean containsKey(java.lang.Object key)
boolean containsValue(short value)
void forEachValue(ShortProcedure procedure)
void forEachKeyValue(ObjectShortProcedure<? super K> procedure)
ShortObjectMap<K> flipUniqueValues()
java.lang.IllegalStateException
- if the ShortObjectMap contains duplicate values.ObjectShortMap<K> select(ObjectShortPredicate<? super K> predicate)
ObjectShortMap<K> reject(ObjectShortPredicate<? super K> predicate)
default ObjectShortMap<K> tap(ShortProcedure procedure)
tap
in interface ShortIterable
java.lang.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class java.lang.Object
AbstractCollection.toString()
ImmutableObjectShortMap<K> toImmutable()
java.util.Set<K> keySet()
MutableShortCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectShortPair<K>> keyValuesView()
Copyright © 2004–2018. All rights reserved.