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