ByteIterable
, ByteValuesMap
, PrimitiveIterable
ImmutableByteByteMap
, MutableByteByteMap
ByteByteHashMap
, SynchronizedByteByteMap
, UnmodifiableByteByteMap
public interface ByteByteMap extends ByteValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(byte key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
ByteByteMap |
flipUniqueValues() |
Return the ByteByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ByteProcedure procedure) |
|
void |
forEachKeyValue(ByteByteProcedure procedure) |
|
byte |
get(byte key) |
|
byte |
getIfAbsent(byte key,
byte ifAbsent) |
|
byte |
getOrThrow(byte key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableByteSet |
keySet() |
|
LazyByteIterable |
keysView() |
|
RichIterable<ByteBytePair> |
keyValuesView() |
|
ByteByteMap |
reject(ByteBytePredicate predicate) |
|
ByteByteMap |
select(ByteBytePredicate predicate) |
|
ImmutableByteByteMap |
toImmutable() |
|
String |
toString() |
Follows the same general contract as
AbstractMap.toString() |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, byteIterator, chunk, 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, 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
byte get(byte key)
byte getIfAbsent(byte key, byte ifAbsent)
byte getOrThrow(byte key)
boolean containsKey(byte key)
void forEachKey(ByteProcedure procedure)
void forEachKeyValue(ByteByteProcedure procedure)
LazyByteIterable keysView()
RichIterable<ByteBytePair> keyValuesView()
ByteByteMap flipUniqueValues()
IllegalStateException
- if the ByteByteMap contains duplicate values.ByteByteMap select(ByteBytePredicate predicate)
ByteByteMap reject(ByteBytePredicate 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()
ImmutableByteByteMap toImmutable()
MutableByteSet keySet()
Copyright © 2004–2019. All rights reserved.