DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableShortDoubleMap
, MutableShortDoubleMap
ShortDoubleHashMap
, SynchronizedShortDoubleMap
, UnmodifiableShortDoubleMap
public interface ShortDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleShortMap |
flipUniqueValues() |
Return the DoubleShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
|
void |
forEachKeyValue(ShortDoubleProcedure procedure) |
|
double |
get(short key) |
|
double |
getIfAbsent(short key,
double ifAbsent) |
|
double |
getOrThrow(short key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableShortSet |
keySet() |
|
LazyShortIterable |
keysView() |
|
RichIterable<ShortDoublePair> |
keyValuesView() |
|
ShortDoubleMap |
reject(ShortDoublePredicate predicate) |
|
ShortDoubleMap |
select(ShortDoublePredicate predicate) |
|
ImmutableShortDoubleMap |
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, doubleIterator, each, flatCollect, forEach, injectInto, 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
double get(short key)
double getIfAbsent(short key, double ifAbsent)
double getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortDoubleProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortDoublePair> keyValuesView()
DoubleShortMap flipUniqueValues()
java.lang.IllegalStateException
- if the DoubleShortMap contains duplicate values.ShortDoubleMap select(ShortDoublePredicate predicate)
ShortDoubleMap reject(ShortDoublePredicate 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()
ImmutableShortDoubleMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2020. All rights reserved.