LongIterable
, LongValuesMap
, PrimitiveIterable
ImmutableFloatLongMap
, MutableFloatLongMap
FloatLongHashMap
, SynchronizedFloatLongMap
, UnmodifiableFloatLongMap
public interface FloatLongMap extends LongValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(float key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
LongFloatMap |
flipUniqueValues() |
Return the LongFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(FloatProcedure procedure) |
|
void |
forEachKeyValue(FloatLongProcedure procedure) |
|
long |
get(float key) |
|
long |
getIfAbsent(float key,
long ifAbsent) |
|
long |
getOrThrow(float key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableFloatSet |
keySet() |
|
LazyFloatIterable |
keysView() |
|
RichIterable<FloatLongPair> |
keyValuesView() |
|
FloatLongMap |
reject(FloatLongPredicate predicate) |
|
FloatLongMap |
select(FloatLongPredicate predicate) |
|
ImmutableFloatLongMap |
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, longIterator, 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
long get(float key)
long getIfAbsent(float key, long ifAbsent)
long getOrThrow(float key)
boolean containsKey(float key)
void forEachKey(FloatProcedure procedure)
void forEachKeyValue(FloatLongProcedure procedure)
LazyFloatIterable keysView()
RichIterable<FloatLongPair> keyValuesView()
LongFloatMap flipUniqueValues()
IllegalStateException
- if the LongFloatMap contains duplicate values.FloatLongMap select(FloatLongPredicate predicate)
FloatLongMap reject(FloatLongPredicate 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()
ImmutableFloatLongMap toImmutable()
MutableFloatSet keySet()
Copyright © 2004–2019. All rights reserved.