PrimitiveIterable, ShortIterable, ShortValuesMapImmutableLongShortMap, MutableLongShortMapLongShortHashMap, SynchronizedLongShortMap, UnmodifiableLongShortMappublic interface LongShortMap extends ShortValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(long key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object). |
ShortLongMap |
flipUniqueValues() |
Return the ShortLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(LongProcedure procedure) |
|
void |
forEachKeyValue(LongShortProcedure procedure) |
|
short |
get(long key) |
|
short |
getIfAbsent(long key,
short ifAbsent) |
|
short |
getOrThrow(long key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableLongSet |
keySet() |
|
LazyLongIterable |
keysView() |
|
RichIterable<LongShortPair> |
keyValuesView() |
|
LongShortMap |
reject(LongShortPredicate predicate) |
|
LongShortMap |
select(LongShortPredicate predicate) |
|
ImmutableLongShortMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcollect, containsValue, forEachValue, reject, select, tap, valuesshort get(long key)
short getIfAbsent(long key,
short ifAbsent)
short getOrThrow(long key)
boolean containsKey(long key)
void forEachKey(LongProcedure procedure)
void forEachKeyValue(LongShortProcedure procedure)
LazyLongIterable keysView()
RichIterable<LongShortPair> keyValuesView()
ShortLongMap flipUniqueValues()
java.lang.IllegalStateException - if the ShortLongMap contains duplicate values.LongShortMap select(LongShortPredicate predicate)
LongShortMap reject(LongShortPredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object).equals in class java.lang.Objectint hashCode()
Map.hashCode().hashCode in class java.lang.Objectjava.lang.String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class java.lang.ObjectAbstractCollection.toString()ImmutableLongShortMap toImmutable()
MutableLongSet keySet()
Copyright © 2004–2018. All rights reserved.