PrimitiveIterable
, ShortIterable
, ShortValuesMap
ImmutableDoubleShortMap
, MutableDoubleShortMap
DoubleShortHashMap
, SynchronizedDoubleShortMap
, UnmodifiableDoubleShortMap
public interface DoubleShortMap extends ShortValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(double key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
ShortDoubleMap |
flipUniqueValues() |
Return the ShortDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(DoubleProcedure procedure) |
|
void |
forEachKeyValue(DoubleShortProcedure procedure) |
|
short |
get(double key) |
|
short |
getIfAbsent(double key,
short ifAbsent) |
|
short |
getOrThrow(double key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableDoubleSet |
keySet() |
|
LazyDoubleIterable |
keysView() |
|
RichIterable<DoubleShortPair> |
keyValuesView() |
|
DoubleShortMap |
reject(DoubleShortPredicate predicate) |
|
DoubleShortMap |
select(DoubleShortPredicate predicate) |
|
ImmutableDoubleShortMap |
toImmutable() |
|
java.lang.String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
short get(double key)
short getIfAbsent(double key, short ifAbsent)
short getOrThrow(double key)
boolean containsKey(double key)
void forEachKey(DoubleProcedure procedure)
void forEachKeyValue(DoubleShortProcedure procedure)
LazyDoubleIterable keysView()
RichIterable<DoubleShortPair> keyValuesView()
ShortDoubleMap flipUniqueValues()
java.lang.IllegalStateException
- if the ShortDoubleMap contains duplicate values.DoubleShortMap select(DoubleShortPredicate predicate)
DoubleShortMap reject(DoubleShortPredicate 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()
ImmutableDoubleShortMap toImmutable()
MutableDoubleSet keySet()
Copyright © 2004–2017. All rights reserved.