public class ByteByteHashMap extends AbstractMutableByteValuesMap implements org.eclipse.collections.api.map.primitive.MutableByteByteMap, Externalizable, MutableByteKeysMap
| Constructor and Description |
|---|
ByteByteHashMap() |
ByteByteHashMap(org.eclipse.collections.api.map.primitive.ByteByteMap map) |
ByteByteHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(byte key,
byte toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableByteByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableByteByteMap |
asUnmodifiable() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator() |
void |
clear() |
void |
compact()
Rehashes every element in the set into a new backing table of the smallest possible size and eliminating removed sentinels.
|
boolean |
containsKey(byte key) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteByteProcedure procedure) |
byte |
get(byte key) |
byte |
getIfAbsent(byte key,
byte ifAbsent) |
byte |
getIfAbsentPut(byte key,
byte value) |
byte |
getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
byte |
getOrThrow(byte key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super V,? extends V> function) |
org.eclipse.collections.api.set.primitive.MutableByteSet |
keySet() |
org.eclipse.collections.api.LazyByteIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteBytePair> |
keyValuesView() |
static ByteByteHashMap |
newWithKeysValues(byte key1,
byte value1) |
static ByteByteHashMap |
newWithKeysValues(byte key1,
byte value1,
byte key2,
byte value2) |
static ByteByteHashMap |
newWithKeysValues(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3) |
static ByteByteHashMap |
newWithKeysValues(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3,
byte key4,
byte value4) |
void |
put(byte key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ByteByteMap map) |
void |
readExternal(ObjectInput in) |
ByteByteHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ByteBytePredicate predicate) |
void |
remove(byte key) |
void |
removeKey(byte key) |
byte |
removeKeyIfAbsent(byte key,
byte value) |
ByteByteHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.ByteBytePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableByteByteMap |
toImmutable() |
String |
toString() |
byte |
updateValue(byte key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
ByteByteHashMap |
withKeysValues(byte key1,
byte value1,
byte key2,
byte value2) |
ByteByteHashMap |
withKeysValues(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3) |
ByteByteHashMap |
withKeysValues(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3,
byte key4,
byte value4) |
ByteByteHashMap |
withKeyValue(byte key1,
byte value1) |
ByteByteHashMap |
withoutAllKeys(org.eclipse.collections.api.ByteIterable keys) |
ByteByteHashMap |
withoutKey(byte key) |
void |
writeExternal(ObjectOutput out) |
allSatisfy, anySatisfy, appendString, collect, contains, containsAll, containsValue, count, detectIfNone, each, forEach, forEachValue, isEmpty, max, min, noneSatisfy, notEmpty, reject, select, size, sum, toArrayappendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListcollect, reject, selectcontainsValue, forEachValueallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeisEmpty, notEmpty, sizepublic ByteByteHashMap()
public ByteByteHashMap(int initialCapacity)
public ByteByteHashMap(org.eclipse.collections.api.map.primitive.ByteByteMap map)
public static ByteByteHashMap newWithKeysValues(byte key1, byte value1)
public static ByteByteHashMap newWithKeysValues(byte key1, byte value1, byte key2, byte value2)
public static ByteByteHashMap newWithKeysValues(byte key1, byte value1, byte key2, byte value2, byte key3, byte value3)
public static ByteByteHashMap newWithKeysValues(byte key1, byte value1, byte key2, byte value2, byte key3, byte value3, byte key4, byte value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.ByteByteMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractByteIterablepublic org.eclipse.collections.api.iterator.MutableByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablebyteIterator in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.ByteIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMapclear in interface MutableByteKeysMappublic void put(byte key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic void putAll(org.eclipse.collections.api.map.primitive.ByteByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic void removeKey(byte key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableByteByteMapremoveKey in interface MutableByteKeysMappublic void remove(byte key)
remove in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte removeKeyIfAbsent(byte key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte getIfAbsentPut(byte key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic <P> byte getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte addToValue(byte key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic byte updateValue(byte key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic ByteByteHashMap withKeyValue(byte key1, byte value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic ByteByteHashMap withKeysValues(byte key1, byte value1, byte key2, byte value2)
public ByteByteHashMap withKeysValues(byte key1, byte value1, byte key2, byte value2, byte key3, byte value3)
public ByteByteHashMap withKeysValues(byte key1, byte value1, byte key2, byte value2, byte key3, byte value3, byte key4, byte value4)
public ByteByteHashMap withoutKey(byte key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic ByteByteHashMap withoutAllKeys(org.eclipse.collections.api.ByteIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic org.eclipse.collections.api.map.primitive.MutableByteByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic org.eclipse.collections.api.map.primitive.MutableByteByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic org.eclipse.collections.api.map.primitive.ImmutableByteByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic byte get(byte key)
get in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic byte getIfAbsent(byte key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic byte getOrThrow(byte key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic boolean containsKey(byte key)
containsKey in interface org.eclipse.collections.api.map.primitive.ByteByteMapcontainsKey in interface ByteKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ByteByteMapforEachKey in interface ByteKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic org.eclipse.collections.api.LazyByteIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic ByteByteHashMap select(org.eclipse.collections.api.block.predicate.primitive.ByteBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.ByteByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic ByteByteHashMap reject(org.eclipse.collections.api.block.predicate.primitive.ByteBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.ByteByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableByteByteMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void compact()
public org.eclipse.collections.api.set.primitive.MutableByteSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ByteByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMapCopyright © 2004–2018. All rights reserved.