FloatIterable
, FloatValuesMap
, PrimitiveIterable
ImmutableShortFloatMap
, MutableShortFloatMap
ShortFloatHashMap
, SynchronizedShortFloatMap
, UnmodifiableShortFloatMap
public interface ShortFloatMap extends FloatValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
FloatShortMap |
flipUniqueValues() |
Return the FloatShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
|
void |
forEachKeyValue(ShortFloatProcedure procedure) |
|
float |
get(short key) |
|
float |
getIfAbsent(short key,
float ifAbsent) |
|
float |
getOrThrow(short key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableShortSet |
keySet() |
|
LazyShortIterable |
keysView() |
|
RichIterable<ShortFloatPair> |
keyValuesView() |
|
ShortFloatMap |
reject(ShortFloatPredicate predicate) |
|
ShortFloatMap |
select(ShortFloatPredicate predicate) |
|
ImmutableShortFloatMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
float get(short key)
float getIfAbsent(short key, float ifAbsent)
float getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortFloatProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortFloatPair> keyValuesView()
FloatShortMap flipUniqueValues()
java.lang.IllegalStateException
- if the FloatShortMap contains duplicate values.ShortFloatMap select(ShortFloatPredicate predicate)
ShortFloatMap reject(ShortFloatPredicate predicate)
boolean equals(java.lang.Object o)
Map.equals(Object)
.equals
in class java.lang.Object
int hashCode()
Map.hashCode()
.hashCode
in class java.lang.Object
java.lang.String toString()
AbstractMap.toString()
toString
in interface PrimitiveIterable
toString
in class java.lang.Object
AbstractCollection.toString()
ImmutableShortFloatMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2018. All rights reserved.