IntIterable
, IntValuesMap
, PrimitiveIterable
ImmutableByteIntMap
, MutableByteIntMap
ByteIntHashMap
, SynchronizedByteIntMap
, UnmodifiableByteIntMap
public interface ByteIntMap extends IntValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(byte key) |
|
boolean |
equals(java.lang.Object o) |
Follows the same general contract as
Map.equals(Object) . |
IntByteMap |
flipUniqueValues() |
Return the IntByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(ByteProcedure procedure) |
|
void |
forEachKeyValue(ByteIntProcedure procedure) |
|
int |
get(byte key) |
|
int |
getIfAbsent(byte key,
int ifAbsent) |
|
int |
getOrThrow(byte key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableByteSet |
keySet() |
|
LazyByteIterable |
keysView() |
|
RichIterable<ByteIntPair> |
keyValuesView() |
|
ByteIntMap |
reject(ByteIntPredicate predicate) |
|
ByteIntMap |
select(ByteIntPredicate predicate) |
|
ImmutableByteIntMap |
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, each, flatCollect, forEach, injectInto, intIterator, 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
int get(byte key)
int getIfAbsent(byte key, int ifAbsent)
int getOrThrow(byte key)
boolean containsKey(byte key)
void forEachKey(ByteProcedure procedure)
void forEachKeyValue(ByteIntProcedure procedure)
LazyByteIterable keysView()
RichIterable<ByteIntPair> keyValuesView()
IntByteMap flipUniqueValues()
java.lang.IllegalStateException
- if the IntByteMap contains duplicate values.ByteIntMap select(ByteIntPredicate predicate)
ByteIntMap reject(ByteIntPredicate 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()
ImmutableByteIntMap toImmutable()
MutableByteSet keySet()
Copyright © 2004–2020. All rights reserved.