LongIterable
, LongValuesMap
, PrimitiveIterable
ImmutableDoubleLongMap
, MutableDoubleLongMap
DoubleLongHashMap
, SynchronizedDoubleLongMap
, UnmodifiableDoubleLongMap
public interface DoubleLongMap extends LongValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(double key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
LongDoubleMap |
flipUniqueValues() |
Return the LongDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(DoubleProcedure procedure) |
|
void |
forEachKeyValue(DoubleLongProcedure procedure) |
|
long |
get(double key) |
|
long |
getIfAbsent(double key,
long ifAbsent) |
|
long |
getOrThrow(double key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableDoubleSet |
keySet() |
|
LazyDoubleIterable |
keysView() |
|
RichIterable<DoubleLongPair> |
keyValuesView() |
|
DoubleLongMap |
reject(DoubleLongPredicate predicate) |
|
DoubleLongMap |
select(DoubleLongPredicate predicate) |
|
ImmutableDoubleLongMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
long get(double key)
long getIfAbsent(double key, long ifAbsent)
long getOrThrow(double key)
boolean containsKey(double key)
void forEachKey(DoubleProcedure procedure)
void forEachKeyValue(DoubleLongProcedure procedure)
LazyDoubleIterable keysView()
RichIterable<DoubleLongPair> keyValuesView()
LongDoubleMap flipUniqueValues()
java.lang.IllegalStateException
- if the LongDoubleMap contains duplicate values.DoubleLongMap select(DoubleLongPredicate predicate)
DoubleLongMap reject(DoubleLongPredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Map.hashCode()
.hashCode
in class java.lang.Object
java.lang.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class java.lang.Object
AbstractCollection.toString()
ImmutableDoubleLongMap toImmutable()
MutableDoubleSet keySet()
Copyright © 2004–2018. All rights reserved.