public interface IntIntMap extends IntIterable
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(int key) |
boolean |
containsValue(int value) |
boolean |
equals(Object o)
Follows the same general contract as
Map.equals(Object) . |
void |
forEachKey(IntProcedure procedure) |
void |
forEachKeyValue(IntIntProcedure procedure) |
void |
forEachValue(IntProcedure procedure) |
int |
get(int key) |
int |
getIfAbsent(int key,
int ifAbsent) |
int |
getOrThrow(int key) |
int |
hashCode()
Follows the same general contract as
Map.hashCode() . |
MutableIntSet |
keySet() |
LazyIntIterable |
keysView() |
RichIterable<IntIntPair> |
keyValuesView() |
IntIntMap |
reject(IntIntPredicate predicate) |
IntIntMap |
select(IntIntPredicate predicate) |
ImmutableIntIntMap |
toImmutable() |
String |
toString()
Returns a string representation of this IntIntMap.
|
MutableIntCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, collect, contains, containsAll, containsAll, count, detectIfNone, 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(int key)
int getIfAbsent(int key, int ifAbsent)
int getOrThrow(int key)
boolean containsKey(int key)
boolean containsValue(int value)
void forEachValue(IntProcedure procedure)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntIntProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntIntPair> keyValuesView()
IntIntMap select(IntIntPredicate predicate)
IntIntMap reject(IntIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
toString
in interface PrimitiveIterable
toString
in class Object
ImmutableIntIntMap toImmutable()
MutableIntSet keySet()
MutableIntCollection values()
Copyright © 2004–2016. All rights reserved.