DoubleIterable
, DoubleValuesMap
, PrimitiveIterable
ImmutableByteDoubleMap
, MutableByteDoubleMap
ByteDoubleHashMap
, SynchronizedByteDoubleMap
, UnmodifiableByteDoubleMap
public interface ByteDoubleMap extends DoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(byte key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
DoubleByteMap |
flipUniqueValues() |
Return the DoubleByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ByteProcedure procedure) |
|
void |
forEachKeyValue(ByteDoubleProcedure procedure) |
|
double |
get(byte key) |
|
double |
getIfAbsent(byte key,
double ifAbsent) |
|
double |
getOrThrow(byte key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableByteSet |
keySet() |
|
LazyByteIterable |
keysView() |
|
RichIterable<ByteDoublePair> |
keyValuesView() |
|
ByteDoubleMap |
reject(ByteDoublePredicate predicate) |
|
ByteDoubleMap |
select(ByteDoublePredicate predicate) |
|
ImmutableByteDoubleMap |
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(byte key)
double getIfAbsent(byte key, double ifAbsent)
double getOrThrow(byte key)
boolean containsKey(byte key)
void forEachKey(ByteProcedure procedure)
void forEachKeyValue(ByteDoubleProcedure procedure)
LazyByteIterable keysView()
RichIterable<ByteDoublePair> keyValuesView()
DoubleByteMap flipUniqueValues()
java.lang.IllegalStateException
- if the DoubleByteMap contains duplicate values.ByteDoubleMap select(ByteDoublePredicate predicate)
ByteDoubleMap reject(ByteDoublePredicate 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()
ImmutableByteDoubleMap toImmutable()
MutableByteSet keySet()
Copyright © 2004–2020. All rights reserved.