PrimitiveIterable
, ShortIterable
, ShortValuesMap
ImmutableByteShortMap
, MutableByteShortMap
ByteShortHashMap
, SynchronizedByteShortMap
, UnmodifiableByteShortMap
public interface ByteShortMap extends ShortValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(byte key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
ShortByteMap |
flipUniqueValues() |
Return the ShortByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ByteProcedure procedure) |
|
void |
forEachKeyValue(ByteShortProcedure procedure) |
|
short |
get(byte key) |
|
short |
getIfAbsent(byte key,
short ifAbsent) |
|
short |
getOrThrow(byte key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableByteSet |
keySet() |
|
LazyByteIterable |
keysView() |
|
RichIterable<ByteShortPair> |
keyValuesView() |
|
ByteShortMap |
reject(ByteShortPredicate predicate) |
|
ByteShortMap |
select(ByteShortPredicate predicate) |
|
ImmutableByteShortMap |
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, 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, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
collect, containsValue, forEachValue, reject, select, tap, values
short get(byte key)
short getIfAbsent(byte key, short ifAbsent)
short getOrThrow(byte key)
boolean containsKey(byte key)
void forEachKey(ByteProcedure procedure)
void forEachKeyValue(ByteShortProcedure procedure)
LazyByteIterable keysView()
RichIterable<ByteShortPair> keyValuesView()
ShortByteMap flipUniqueValues()
java.lang.IllegalStateException
- if the ShortByteMap contains duplicate values.ByteShortMap select(ByteShortPredicate predicate)
ByteShortMap reject(ByteShortPredicate 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()
ImmutableByteShortMap toImmutable()
MutableByteSet keySet()
Copyright © 2004–2020. All rights reserved.