DoubleIterable, DoubleValuesMap, PrimitiveIterableImmutableIntDoubleMap, MutableIntDoubleMapIntDoubleHashMap, SynchronizedIntDoubleMap, UnmodifiableIntDoubleMappublic interface IntDoubleMap extends DoubleValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object). |
DoubleIntMap |
flipUniqueValues() |
Return the DoubleIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntDoubleProcedure procedure) |
|
double |
get(int key) |
|
double |
getIfAbsent(int key,
double ifAbsent) |
|
double |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntDoublePair> |
keyValuesView() |
|
IntDoubleMap |
reject(IntDoublePredicate predicate) |
|
IntDoubleMap |
select(IntDoublePredicate predicate) |
|
ImmutableIntDoubleMap |
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, toSortedListcollect, containsValue, forEachValue, reject, select, tap, valuesappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizedouble get(int key)
double getIfAbsent(int key,
double ifAbsent)
double getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntDoubleProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntDoublePair> keyValuesView()
DoubleIntMap flipUniqueValues()
java.lang.IllegalStateException - if the DoubleIntMap contains duplicate values.IntDoubleMap select(IntDoublePredicate predicate)
IntDoubleMap reject(IntDoublePredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object).equals in class java.lang.Objectint hashCode()
Map.hashCode().hashCode in class java.lang.Objectjava.lang.String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class java.lang.ObjectAbstractCollection.toString()ImmutableIntDoubleMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2018. All rights reserved.