LongIterable, PrimitiveIterableImmutableObjectLongMap<K>, MutableObjectLongMap<K>AbstractImmutableObjectLongMap, ObjectLongHashMap, ObjectLongHashMapWithHashingStrategy, SynchronizedObjectLongMap, UnmodifiableObjectLongMappublic interface ObjectLongMap<K> extends LongIterable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(long value) |
|
LongObjectMap<K> |
flipUniqueValues() |
Return the LongObjectMap 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(ObjectLongProcedure<? super K> procedure) |
|
void |
forEachValue(LongProcedure procedure) |
|
long |
get(java.lang.Object key) |
|
long |
getIfAbsent(java.lang.Object key,
long ifAbsent) |
|
long |
getOrThrow(java.lang.Object key) |
|
java.util.Set<K> |
keySet() |
|
LazyIterable<K> |
keysView() |
|
RichIterable<ObjectLongPair<K>> |
keyValuesView() |
|
ObjectLongMap<K> |
reject(ObjectLongPredicate<? super K> predicate) |
|
ObjectLongMap<K> |
select(ObjectLongPredicate<? super K> predicate) |
|
default ObjectLongMap<K> |
tap(LongProcedure procedure) |
|
ImmutableObjectLongMap<K> |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
MutableLongCollection |
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, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, reject, select, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizelong get(java.lang.Object key)
long getOrThrow(java.lang.Object key)
long getIfAbsent(java.lang.Object key,
long ifAbsent)
boolean containsKey(java.lang.Object key)
boolean containsValue(long value)
void forEachValue(LongProcedure procedure)
void forEachKeyValue(ObjectLongProcedure<? super K> procedure)
LongObjectMap<K> flipUniqueValues()
java.lang.IllegalStateException - if the LongObjectMap contains duplicate values.ObjectLongMap<K> select(ObjectLongPredicate<? super K> predicate)
ObjectLongMap<K> reject(ObjectLongPredicate<? super K> predicate)
default ObjectLongMap<K> tap(LongProcedure procedure)
tap in interface LongIterablejava.lang.String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class java.lang.ObjectAbstractCollection.toString()ImmutableObjectLongMap<K> toImmutable()
java.util.Set<K> keySet()
MutableLongCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectLongPair<K>> keyValuesView()
Copyright © 2004–2020. All rights reserved.