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) . |
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()
Returns a string representation of this LongIntMap.
|
containsValue, forEachValue, values
allSatisfy, anySatisfy, asLazy, average, collect, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, intIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
int 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()
LongIntMap select(LongIntPredicate predicate)
LongIntMap reject(LongIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
toString
in interface PrimitiveIterable
toString
in class Object
ImmutableLongIntMap toImmutable()
MutableLongSet keySet()
Copyright © 2004–2016. All rights reserved.