DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableFloatDoubleMap
, MutableFloatDoubleMap
FloatDoubleHashMap
, SynchronizedFloatDoubleMap
, UnmodifiableFloatDoubleMap
public interface FloatDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(float key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleFloatMap |
flipUniqueValues() |
Return the DoubleFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(FloatProcedure procedure) |
|
void |
forEachKeyValue(FloatDoubleProcedure procedure) |
|
double |
get(float key) |
|
double |
getIfAbsent(float key,
double ifAbsent) |
|
double |
getOrThrow(float key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableFloatSet |
keySet() |
|
LazyFloatIterable |
keysView() |
|
RichIterable<FloatDoublePair> |
keyValuesView() |
|
FloatDoubleMap |
reject(FloatDoublePredicate predicate) |
|
FloatDoubleMap |
select(FloatDoublePredicate predicate) |
|
ImmutableFloatDoubleMap |
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, doubleIterator, each, flatCollect, forEach, injectInto, 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
double get(float key)
double getIfAbsent(float key, double ifAbsent)
double getOrThrow(float key)
boolean containsKey(float key)
void forEachKey(FloatProcedure procedure)
void forEachKeyValue(FloatDoubleProcedure procedure)
LazyFloatIterable keysView()
RichIterable<FloatDoublePair> keyValuesView()
DoubleFloatMap flipUniqueValues()
java.lang.IllegalStateException
- if the DoubleFloatMap contains duplicate values.FloatDoubleMap select(FloatDoublePredicate predicate)
FloatDoubleMap reject(FloatDoublePredicate 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()
ImmutableFloatDoubleMap toImmutable()
MutableFloatSet keySet()
Copyright © 2004–2018. All rights reserved.