FloatIterable, FloatValuesMap, PrimitiveIterableImmutableIntFloatMap, MutableIntFloatMapIntFloatHashMap, SynchronizedIntFloatMap, UnmodifiableIntFloatMappublic interface IntFloatMap extends FloatValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object). |
FloatIntMap |
flipUniqueValues() |
Return the FloatIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntFloatProcedure procedure) |
|
float |
get(int key) |
|
float |
getIfAbsent(int key,
float ifAbsent) |
|
float |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode(). |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntFloatPair> |
keyValuesView() |
|
IntFloatMap |
reject(IntFloatPredicate predicate) |
|
IntFloatMap |
select(IntFloatPredicate predicate) |
|
ImmutableIntFloatMap |
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, floatIterator, 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, sizefloat get(int key)
float getIfAbsent(int key,
float ifAbsent)
float getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntFloatProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntFloatPair> keyValuesView()
FloatIntMap flipUniqueValues()
java.lang.IllegalStateException - if the FloatIntMap contains duplicate values.IntFloatMap select(IntFloatPredicate predicate)
IntFloatMap reject(IntFloatPredicate 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()ImmutableIntFloatMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2018. All rights reserved.