IntIterable
, PrimitiveIterable
ImmutableObjectIntMap<K>
, MutableObjectIntMap<K>
AbstractImmutableObjectIntMap
, ObjectIntHashMap
, ObjectIntHashMapWithHashingStrategy
, SynchronizedObjectIntMap
, UnmodifiableObjectIntMap
public interface ObjectIntMap<K> extends IntIterable
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(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(Object key) |
|
int |
getIfAbsent(Object key,
int ifAbsent) |
|
int |
getOrThrow(Object key) |
|
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() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
MutableIntCollection |
values() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, reduce, reduceIfEmpty, reject, reject, select, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
int get(Object key)
int getOrThrow(Object key)
int getIfAbsent(Object key, int ifAbsent)
boolean containsKey(Object key)
boolean containsValue(int value)
void forEachValue(IntProcedure procedure)
void forEachKeyValue(ObjectIntProcedure<? super K> procedure)
IntObjectMap<K> flipUniqueValues()
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 IntIterable
String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class Object
AbstractCollection.toString()
ImmutableObjectIntMap<K> toImmutable()
MutableIntCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectIntPair<K>> keyValuesView()
Copyright © 2004–2019. All rights reserved.