DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableDoubleDoubleMap
, MutableDoubleDoubleMap
DoubleDoubleHashMap
, SynchronizedDoubleDoubleMap
, UnmodifiableDoubleDoubleMap
public interface DoubleDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(double key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleDoubleMap |
flipUniqueValues() |
Return the DoubleDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(DoubleProcedure procedure) |
|
void |
forEachKeyValue(DoubleDoubleProcedure procedure) |
|
double |
get(double key) |
|
double |
getIfAbsent(double key,
double ifAbsent) |
|
double |
getOrThrow(double key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableDoubleSet |
keySet() |
|
LazyDoubleIterable |
keysView() |
|
RichIterable<DoubleDoublePair> |
keyValuesView() |
|
DoubleDoubleMap |
reject(DoubleDoublePredicate predicate) |
|
DoubleDoubleMap |
select(DoubleDoublePredicate predicate) |
|
ImmutableDoubleDoubleMap |
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(double key)
double getIfAbsent(double key, double ifAbsent)
double getOrThrow(double key)
boolean containsKey(double key)
void forEachKey(DoubleProcedure procedure)
void forEachKeyValue(DoubleDoubleProcedure procedure)
LazyDoubleIterable keysView()
RichIterable<DoubleDoublePair> keyValuesView()
DoubleDoubleMap flipUniqueValues()
IllegalStateException
- if the DoubleDoubleMap contains duplicate values.DoubleDoubleMap select(DoubleDoublePredicate predicate)
DoubleDoubleMap reject(DoubleDoublePredicate 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()
ImmutableDoubleDoubleMap toImmutable()
MutableDoubleSet keySet()
Copyright © 2004–2019. All rights reserved.