PrimitiveIterable, ShortIterable, ShortValuesMapImmutableShortShortMap, MutableShortShortMapShortShortHashMap, SynchronizedShortShortMap, UnmodifiableShortShortMappublic interface ShortShortMap extends ShortValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object). |
ShortShortMap |
flipUniqueValues() |
Return the ShortShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
|
void |
forEachKeyValue(ShortShortProcedure procedure) |
|
short |
get(short key) |
|
short |
getIfAbsent(short key,
short ifAbsent) |
|
short |
getOrThrow(short key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableShortSet |
keySet() |
|
LazyShortIterable |
keysView() |
|
RichIterable<ShortShortPair> |
keyValuesView() |
|
ShortShortMap |
reject(ShortShortPredicate predicate) |
|
ShortShortMap |
select(ShortShortPredicate predicate) |
|
ImmutableShortShortMap |
toImmutable() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeallSatisfy, 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, toSortedListcollect, containsValue, forEachValue, reject, select, tap, valuesshort get(short key)
short getIfAbsent(short key,
short ifAbsent)
short getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortShortProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortShortPair> keyValuesView()
ShortShortMap flipUniqueValues()
IllegalStateException - if the ShortShortMap contains duplicate values.ShortShortMap select(ShortShortPredicate predicate)
ShortShortMap reject(ShortShortPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableShortShortMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2019. All rights reserved.