ByteIterable
, ByteValuesMap
, PrimitiveIterable
ImmutableIntByteMap
, MutableIntByteMap
IntByteHashMap
, SynchronizedIntByteMap
, UnmodifiableIntByteMap
public interface IntByteMap extends ByteValuesMap
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKey(int key) |
|
boolean |
equals(Object o) |
Follows the same general contract as
Map.equals(Object) . |
ByteIntMap |
flipUniqueValues() |
Return the ByteIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
void |
forEachKey(IntProcedure procedure) |
|
void |
forEachKeyValue(IntByteProcedure procedure) |
|
byte |
get(int key) |
|
byte |
getIfAbsent(int key,
byte ifAbsent) |
|
byte |
getOrThrow(int key) |
|
int |
hashCode() |
Follows the same general contract as
Map.hashCode() . |
MutableIntSet |
keySet() |
|
LazyIntIterable |
keysView() |
|
RichIterable<IntBytePair> |
keyValuesView() |
|
IntByteMap |
reject(IntBytePredicate predicate) |
|
IntByteMap |
select(IntBytePredicate predicate) |
|
ImmutableIntByteMap |
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(int key)
byte getIfAbsent(int key, byte ifAbsent)
byte getOrThrow(int key)
boolean containsKey(int key)
void forEachKey(IntProcedure procedure)
void forEachKeyValue(IntByteProcedure procedure)
LazyIntIterable keysView()
RichIterable<IntBytePair> keyValuesView()
ByteIntMap flipUniqueValues()
IllegalStateException
- if the ByteIntMap contains duplicate values.IntByteMap select(IntBytePredicate predicate)
IntByteMap reject(IntBytePredicate 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()
ImmutableIntByteMap toImmutable()
MutableIntSet keySet()
Copyright © 2004–2019. All rights reserved.