LongIterable, LongValuesMap, PrimitiveIterableImmutableIntLongMap, MutableIntLongMapIntLongHashMap, SynchronizedIntLongMap, UnmodifiableIntLongMappublic interface IntLongMap extends LongValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object). |
LongIntMap |
flipUniqueValues() |
Return the LongIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntLongProcedure procedure) |
|
long |
get(int key) |
|
long |
getIfAbsent(int key,
long ifAbsent) |
|
long |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntLongPair> |
keyValuesView() |
|
IntLongMap |
reject(IntLongPredicate predicate) |
|
IntLongMap |
select(IntLongPredicate predicate) |
|
ImmutableIntLongMap |
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, toSortedListcollect, containsValue, forEachValue, reject, select, tap, valuesappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizelong get(int key)
long getIfAbsent(int key,
long ifAbsent)
long getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntLongProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntLongPair> keyValuesView()
LongIntMap flipUniqueValues()
IllegalStateException - if the LongIntMap contains duplicate values.IntLongMap select(IntLongPredicate predicate)
IntLongMap reject(IntLongPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableIntLongMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2019. All rights reserved.