PrimitiveIterable
, ShortIterable
, ShortValuesMap
ImmutableFloatShortMap
, MutableFloatShortMap
FloatShortHashMap
, SynchronizedFloatShortMap
, UnmodifiableFloatShortMap
public interface FloatShortMap extends ShortValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(float key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
ShortFloatMap |
flipUniqueValues() |
Return the ShortFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(FloatProcedure procedure) |
|
void |
forEachKeyValue(FloatShortProcedure procedure) |
|
short |
get(float key) |
|
short |
getIfAbsent(float key,
short ifAbsent) |
|
short |
getOrThrow(float key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableFloatSet |
keySet() |
|
LazyFloatIterable |
keysView() |
|
RichIterable<FloatShortPair> |
keyValuesView() |
|
FloatShortMap |
reject(FloatShortPredicate predicate) |
|
FloatShortMap |
select(FloatShortPredicate predicate) |
|
ImmutableFloatShortMap |
toImmutable() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
short get(float key)
short getIfAbsent(float key, short ifAbsent)
short getOrThrow(float key)
boolean containsKey(float key)
void forEachKey(FloatProcedure procedure)
void forEachKeyValue(FloatShortProcedure procedure)
LazyFloatIterable keysView()
RichIterable<FloatShortPair> keyValuesView()
ShortFloatMap flipUniqueValues()
IllegalStateException
- if the ShortFloatMap contains duplicate values.FloatShortMap select(FloatShortPredicate predicate)
FloatShortMap reject(FloatShortPredicate 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()
ImmutableFloatShortMap toImmutable()
MutableFloatSet keySet()
Copyright © 2004–2019. All rights reserved.