LongIterable
, LongValuesMap
, PrimitiveIterable
ImmutableShortLongMap
, MutableShortLongMap
ShortLongHashMap
, SynchronizedShortLongMap
, UnmodifiableShortLongMap
public interface ShortLongMap extends LongValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
LongShortMap |
flipUniqueValues() |
Return the LongShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
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() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
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()
LongShortMap flipUniqueValues()
IllegalStateException
- if the LongShortMap contains duplicate values.ShortLongMap select(ShortLongPredicate predicate)
ShortLongMap reject(ShortLongPredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class Object
AbstractCollection.toString()
ImmutableShortLongMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2019. All rights reserved.