PrimitiveIterable, ShortIterable, ShortValuesMapImmutableIntShortMap, MutableIntShortMapIntShortHashMap, SynchronizedIntShortMap, UnmodifiableIntShortMappublic interface IntShortMap extends ShortValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object). |
ShortIntMap |
flipUniqueValues() |
Return the ShortIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntShortProcedure procedure) |
|
short |
get(int key) |
|
short |
getIfAbsent(int key,
short ifAbsent) |
|
short |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntShortPair> |
keyValuesView() |
|
IntShortMap |
reject(IntShortPredicate predicate) |
|
IntShortMap |
select(IntShortPredicate predicate) |
|
ImmutableIntShortMap |
toImmutable() |
|
java.lang.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(int key)
short getIfAbsent(int key,
short ifAbsent)
short getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntShortProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntShortPair> keyValuesView()
ShortIntMap flipUniqueValues()
java.lang.IllegalStateException - if the ShortIntMap contains duplicate values.IntShortMap select(IntShortPredicate predicate)
IntShortMap reject(IntShortPredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object).equals in class java.lang.Objectint hashCode()
Map.hashCode().hashCode in class java.lang.Objectjava.lang.String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class java.lang.ObjectAbstractCollection.toString()ImmutableIntShortMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2020. All rights reserved.