CharIterable, CharValuesMap, PrimitiveIterableImmutableShortCharMap, MutableShortCharMapShortCharHashMap, SynchronizedShortCharMap, UnmodifiableShortCharMappublic interface ShortCharMap extends CharValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object). |
CharShortMap |
flipUniqueValues() |
Return the CharShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
|
void |
forEachKeyValue(ShortCharProcedure procedure) |
|
char |
get(short key) |
|
char |
getIfAbsent(short key,
char ifAbsent) |
|
char |
getOrThrow(short key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableShortSet |
keySet() |
|
LazyShortIterable |
keysView() |
|
RichIterable<ShortCharPair> |
keyValuesView() |
|
ShortCharMap |
reject(ShortCharPredicate predicate) |
|
ShortCharMap |
select(ShortCharPredicate predicate) |
|
ImmutableShortCharMap |
toImmutable() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, 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, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcollect, containsValue, forEachValue, reject, select, tap, valuesappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizechar get(short key)
char getIfAbsent(short key,
char ifAbsent)
char getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortCharProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortCharPair> keyValuesView()
CharShortMap flipUniqueValues()
IllegalStateException - if the CharShortMap contains duplicate values.ShortCharMap select(ShortCharPredicate predicate)
ShortCharMap reject(ShortCharPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableShortCharMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2019. All rights reserved.