LongIterable
, PrimitiveIterable
ImmutableObjectLongMap<K>
, MutableObjectLongMap<K>
AbstractImmutableObjectLongMap
, ObjectLongHashMap
, ObjectLongHashMapWithHashingStrategy
, SynchronizedObjectLongMap
, UnmodifiableObjectLongMap
public 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, 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, reject, reject, select, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
long 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 LongIterable
java.lang.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class java.lang.Object
AbstractCollection.toString()
ImmutableObjectLongMap<K> toImmutable()
java.util.Set<K> keySet()
MutableLongCollection values()
LazyIterable<K> keysView()
RichIterable<ObjectLongPair<K>> keyValuesView()
Copyright © 2004–2017. All rights reserved.