public interface ShortIntMap extends IntValuesMap
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(short key) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object). |
IntShortMap |
flipUniqueValues()
Return the IntShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
void |
forEachKeyValue(ShortIntProcedure procedure) |
int |
get(short key) |
int |
getIfAbsent(short key,
int ifAbsent) |
int |
getOrThrow(short key) |
int |
hashCode()
Follows the same general contract as
Map.hashCode(). |
MutableShortSet |
keySet() |
LazyShortIterable |
keysView() |
RichIterable<ShortIntPair> |
keyValuesView() |
ShortIntMap |
reject(ShortIntPredicate predicate) |
ShortIntMap |
select(ShortIntPredicate predicate) |
ImmutableShortIntMap |
toImmutable() |
String |
toString()
Follows the same general contract as
AbstractMap.toString() |
collect, containsValue, forEachValue, reject, select, tap, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeint get(short key)
int getIfAbsent(short key,
int ifAbsent)
int getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortIntProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortIntPair> keyValuesView()
IntShortMap flipUniqueValues()
IllegalStateException - if the IntShortMap contains duplicate values.ShortIntMap select(ShortIntPredicate predicate)
ShortIntMap reject(ShortIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableShortIntMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2017. All rights reserved.