IntIterable, PrimitiveIterableImmutableObjectIntMap<K>, MutableObjectIntMap<K>AbstractImmutableObjectIntMap, ObjectIntHashMap, ObjectIntHashMapWithHashingStrategy, SynchronizedObjectIntMap, UnmodifiableObjectIntMappublic interface ObjectIntMap<K> extends IntIterable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(int value) |
|
IntObjectMap<K> |
flipUniqueValues() |
Return the IntObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(Procedure<? super K> procedure) |
|
void |
forEachKeyValue(ObjectIntProcedure<? super K> procedure) |
|
void |
forEachValue(IntProcedure procedure) |
|
int |
get(java.lang.Object key) |
|
int |
getIfAbsent(java.lang.Object key,
int ifAbsent) |
|
int |
getOrThrow(java.lang.Object key) |
|
java.util.Set<K> |
keySet() |
|
LazyIterable<K> |
keysView() |
|
RichIterable<ObjectIntPair<K>> |
keyValuesView() |
|
ObjectIntMap<K> |
reject(ObjectIntPredicate<? super K> predicate) |
|
ObjectIntMap<K> |
select(ObjectIntPredicate<? super K> predicate) |
|
default ObjectIntMap<K> |
tap(IntProcedure procedure) |
|
ImmutableObjectIntMap<K> |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
MutableIntCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, 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, reject, select, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeint get(java.lang.Object key)
int getOrThrow(java.lang.Object key)
int getIfAbsent(java.lang.Object key,
int ifAbsent)
boolean containsKey(java.lang.Object key)
boolean containsValue(int value)
void forEachValue(IntProcedure procedure)
void forEachKeyValue(ObjectIntProcedure<? super K> procedure)
IntObjectMap<K> flipUniqueValues()
java.lang.IllegalStateException - if the IntObjectMap contains duplicate values.ObjectIntMap<K> select(ObjectIntPredicate<? super K> predicate)
ObjectIntMap<K> reject(ObjectIntPredicate<? super K> predicate)
default ObjectIntMap<K> tap(IntProcedure procedure)
tap in interface IntIterablejava.lang.String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class java.lang.ObjectAbstractCollection.toString()ImmutableObjectIntMap<K> toImmutable()
java.util.Set<K> keySet()
MutableIntCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectIntPair<K>> keyValuesView()
Copyright © 2004–2017. All rights reserved.