public interface ShortIntMap extends IntIterable
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(short key) |
boolean |
containsValue(int value) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object) . |
void |
forEachKey(ShortProcedure procedure) |
void |
forEachKeyValue(ShortIntProcedure procedure) |
void |
forEachValue(IntProcedure 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()
Returns a string representation of this ShortIntMap.
|
MutableIntCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, collect, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, intIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
int get(short key)
int getIfAbsent(short key, int ifAbsent)
int getOrThrow(short key)
boolean containsKey(short key)
boolean containsValue(int value)
void forEachValue(IntProcedure procedure)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortIntProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortIntPair> keyValuesView()
ShortIntMap select(ShortIntPredicate predicate)
ShortIntMap reject(ShortIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
toString
in interface PrimitiveIterable
toString
in class Object
ImmutableShortIntMap toImmutable()
MutableShortSet keySet()
MutableIntCollection values()
Copyright © 2004–2019. All rights reserved.