DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableCharDoubleMap
, MutableCharDoubleMap
CharDoubleHashMap
, SynchronizedCharDoubleMap
, UnmodifiableCharDoubleMap
public interface CharDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(char key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleCharMap |
flipUniqueValues() |
Return the DoubleCharMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(CharProcedure procedure) |
|
void |
forEachKeyValue(CharDoubleProcedure procedure) |
|
double |
get(char key) |
|
double |
getIfAbsent(char key,
double ifAbsent) |
|
double |
getOrThrow(char key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableCharSet |
keySet() |
|
LazyCharIterable |
keysView() |
|
RichIterable<CharDoublePair> |
keyValuesView() |
|
CharDoubleMap |
reject(CharDoublePredicate predicate) |
|
CharDoubleMap |
select(CharDoublePredicate predicate) |
|
ImmutableCharDoubleMap |
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, 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(char key)
double getIfAbsent(char key, double ifAbsent)
double getOrThrow(char key)
boolean containsKey(char key)
void forEachKey(CharProcedure procedure)
void forEachKeyValue(CharDoubleProcedure procedure)
LazyCharIterable keysView()
RichIterable<CharDoublePair> keyValuesView()
DoubleCharMap flipUniqueValues()
IllegalStateException
- if the DoubleCharMap contains duplicate values.CharDoubleMap select(CharDoublePredicate predicate)
CharDoubleMap reject(CharDoublePredicate 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()
ImmutableCharDoubleMap toImmutable()
MutableCharSet keySet()
Copyright © 2004–2019. All rights reserved.