public interface ByteIntMap extends IntValuesMap
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(byte key) |
boolean |
equals(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() |
String |
toString()
Follows the same general contract as
AbstractMap.toString() |
collect, containsValue, forEachValue, reject, select, tap, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeint 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()
IllegalStateException - if the IntByteMap contains duplicate values.ByteIntMap select(ByteIntPredicate predicate)
ByteIntMap reject(ByteIntPredicate predicate)
boolean equals(Object o)
Map.equals(Object).int hashCode()
Map.hashCode().String toString()
AbstractMap.toString()toString in interface PrimitiveIterabletoString in class ObjectAbstractCollection.toString()ImmutableByteIntMap toImmutable()
MutableByteSet keySet()
Copyright © 2004–2017. All rights reserved.