IntIterable
, IntValuesMap
, PrimitiveIterable
ImmutableFloatIntMap
, MutableFloatIntMap
FloatIntHashMap
, SynchronizedFloatIntMap
, UnmodifiableFloatIntMap
public interface FloatIntMap extends IntValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(float key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
IntFloatMap |
flipUniqueValues() |
Return the IntFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(FloatProcedure procedure) |
|
void |
forEachKeyValue(FloatIntProcedure procedure) |
|
int |
get(float key) |
|
int |
getIfAbsent(float key,
int ifAbsent) |
|
int |
getOrThrow(float key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableFloatSet |
keySet() |
|
LazyFloatIterable |
keysView() |
|
RichIterable<FloatIntPair> |
keyValuesView() |
|
FloatIntMap |
reject(FloatIntPredicate predicate) |
|
FloatIntMap |
select(FloatIntPredicate predicate) |
|
ImmutableFloatIntMap |
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, each, flatCollect, forEach, injectInto, intIterator, 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
int get(float key)
int getIfAbsent(float key, int ifAbsent)
int getOrThrow(float key)
boolean containsKey(float key)
void forEachKey(FloatProcedure procedure)
void forEachKeyValue(FloatIntProcedure procedure)
LazyFloatIterable keysView()
RichIterable<FloatIntPair> keyValuesView()
IntFloatMap flipUniqueValues()
IllegalStateException
- if the IntFloatMap contains duplicate values.FloatIntMap select(FloatIntPredicate predicate)
FloatIntMap reject(FloatIntPredicate 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()
ImmutableFloatIntMap toImmutable()
MutableFloatSet keySet()
Copyright © 2004–2019. All rights reserved.