DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableLongDoubleMap
, MutableLongDoubleMap
LongDoubleHashMap
, SynchronizedLongDoubleMap
, UnmodifiableLongDoubleMap
public interface LongDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(long key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleLongMap |
flipUniqueValues() |
Return the DoubleLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(LongProcedure procedure) |
|
void |
forEachKeyValue(LongDoubleProcedure procedure) |
|
double |
get(long key) |
|
double |
getIfAbsent(long key,
double ifAbsent) |
|
double |
getOrThrow(long key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableLongSet |
keySet() |
|
LazyLongIterable |
keysView() |
|
RichIterable<LongDoublePair> |
keyValuesView() |
|
LongDoubleMap |
reject(LongDoublePredicate predicate) |
|
LongDoubleMap |
select(LongDoublePredicate predicate) |
|
ImmutableLongDoubleMap |
toImmutable() |
|
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, doubleIterator, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, 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
double get(long key)
double getIfAbsent(long key, double ifAbsent)
double getOrThrow(long key)
boolean containsKey(long key)
void forEachKey(LongProcedure procedure)
void forEachKeyValue(LongDoubleProcedure procedure)
LazyLongIterable keysView()
RichIterable<LongDoublePair> keyValuesView()
DoubleLongMap flipUniqueValues()
IllegalStateException
- if the DoubleLongMap contains duplicate values.LongDoubleMap select(LongDoublePredicate predicate)
LongDoubleMap reject(LongDoublePredicate predicate)
boolean equals(Object o)
Map.equals(Object)
.int hashCode()
Map.hashCode()
.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class Object
AbstractCollection.toString()
ImmutableLongDoubleMap toImmutable()
MutableLongSet keySet()
Copyright © 2004–2019. All rights reserved.