ByteIterable
, ByteValuesMap
, PrimitiveIterable
ImmutableShortByteMap
, MutableShortByteMap
ShortByteHashMap
, SynchronizedShortByteMap
, UnmodifiableShortByteMap
public interface ShortByteMap extends ByteValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(short key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
ByteShortMap |
flipUniqueValues() |
Return the ByteShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ShortProcedure procedure) |
|
void |
forEachKeyValue(ShortByteProcedure procedure) |
|
byte |
get(short key) |
|
byte |
getIfAbsent(short key,
byte ifAbsent) |
|
byte |
getOrThrow(short key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableShortSet |
keySet() |
|
LazyShortIterable |
keysView() |
|
RichIterable<ShortBytePair> |
keyValuesView() |
|
ShortByteMap |
reject(ShortBytePredicate predicate) |
|
ShortByteMap |
select(ShortBytePredicate predicate) |
|
ImmutableShortByteMap |
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(short key)
byte getIfAbsent(short key, byte ifAbsent)
byte getOrThrow(short key)
boolean containsKey(short key)
void forEachKey(ShortProcedure procedure)
void forEachKeyValue(ShortByteProcedure procedure)
LazyShortIterable keysView()
RichIterable<ShortBytePair> keyValuesView()
ByteShortMap flipUniqueValues()
IllegalStateException
- if the ByteShortMap contains duplicate values.ShortByteMap select(ShortBytePredicate predicate)
ShortByteMap reject(ShortBytePredicate 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()
ImmutableShortByteMap toImmutable()
MutableShortSet keySet()
Copyright © 2004–2019. All rights reserved.