public interface ShortLongMap extends LongIterable
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(short key) |
boolean |
containsValue(long value) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object) . |
void |
forEachKey(ShortProcedure procedure) |
void |
forEachKeyValue(ShortLongProcedure procedure) |
void |
forEachValue(LongProcedure 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.
|
MutableLongCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, collect, contains, containsAll, containsAll, count, detectIfNone, 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)
boolean containsValue(long value)
void forEachValue(LongProcedure procedure)
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()
MutableLongCollection values()
Copyright © 2004–2017. All rights reserved.