public interface LongIntMap extends IntValuesMap
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object). |
IntLongMap |
flipUniqueValues()
Return the IntLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(LongProcedure procedure) |
void |
forEachKeyValue(LongIntProcedure procedure) |
int |
get(long key) |
int |
getIfAbsent(long key,
int ifAbsent) |
int |
getOrThrow(long key) |
int |
hashCode()
Follows the same general contract as
Map.hashCode(). |
MutableLongSet |
keySet() |
LazyLongIterable |
keysView() |
RichIterable<LongIntPair> |
keyValuesView() |
LongIntMap |
reject(LongIntPredicate predicate) |
LongIntMap |
select(LongIntPredicate predicate) |
ImmutableLongIntMap |
toImmutable() |
String |
toString()
Follows the same general contract as
AbstractMap.toString() |
collect, containsValue, forEachValue, reject, select, tap, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeint get(long key)
int getIfAbsent(long key,
int ifAbsent)
int getOrThrow(long key)
boolean containsKey(long key)
void forEachKey(LongProcedure procedure)
void forEachKeyValue(LongIntProcedure procedure)
LazyLongIterable keysView()
RichIterable<LongIntPair> keyValuesView()
IntLongMap flipUniqueValues()
IllegalStateException - if the IntLongMap contains duplicate values.LongIntMap select(LongIntPredicate predicate)
LongIntMap reject(LongIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableLongIntMap toImmutable()
MutableLongSet keySet()
Copyright © 2004–2017. All rights reserved.