public class IntByteHashMap extends AbstractMutableByteValuesMap implements org.eclipse.collections.api.map.primitive.MutableIntByteMap, Externalizable, MutableIntKeysMap
| Constructor and Description |
|---|
IntByteHashMap() |
IntByteHashMap(int initialCapacity) |
IntByteHashMap(org.eclipse.collections.api.map.primitive.IntByteMap map) |
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(int key,
byte toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableIntByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableIntByteMap |
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(int key) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntByteProcedure procedure) |
byte |
get(int key) |
byte |
getIfAbsent(int key,
byte ifAbsent) |
byte |
getIfAbsentPut(int key,
byte value) |
byte |
getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToByteFunction function) |
byte |
getOrThrow(int 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.MutableIntSet |
keySet() |
org.eclipse.collections.api.LazyIntIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntBytePair> |
keyValuesView() |
static IntByteHashMap |
newWithKeysValues(int key1,
byte value1) |
static IntByteHashMap |
newWithKeysValues(int key1,
byte value1,
int key2,
byte value2) |
static IntByteHashMap |
newWithKeysValues(int key1,
byte value1,
int key2,
byte value2,
int key3,
byte value3) |
static IntByteHashMap |
newWithKeysValues(int key1,
byte value1,
int key2,
byte value2,
int key3,
byte value3,
int key4,
byte value4) |
void |
put(int key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.IntByteMap map) |
void |
readExternal(ObjectInput in) |
IntByteHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
byte |
removeKeyIfAbsent(int key,
byte value) |
IntByteHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableIntByteMap |
toImmutable() |
String |
toString() |
byte |
updateValue(int key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
IntByteHashMap |
withKeysValues(int key1,
byte value1,
int key2,
byte value2) |
IntByteHashMap |
withKeysValues(int key1,
byte value1,
int key2,
byte value2,
int key3,
byte value3) |
IntByteHashMap |
withKeysValues(int key1,
byte value1,
int key2,
byte value2,
int key3,
byte value3,
int key4,
byte value4) |
IntByteHashMap |
withKeyValue(int key1,
byte value1) |
IntByteHashMap |
withoutAllKeys(org.eclipse.collections.api.IntIterable keys) |
IntByteHashMap |
withoutKey(int 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 IntByteHashMap()
public IntByteHashMap(int initialCapacity)
public IntByteHashMap(org.eclipse.collections.api.map.primitive.IntByteMap map)
public static IntByteHashMap newWithKeysValues(int key1, byte value1)
public static IntByteHashMap newWithKeysValues(int key1, byte value1, int key2, byte value2)
public static IntByteHashMap newWithKeysValues(int key1, byte value1, int key2, byte value2, int key3, byte value3)
public static IntByteHashMap newWithKeysValues(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.IntByteMaptoString 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 MutableIntKeysMappublic void put(int key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic void putAll(org.eclipse.collections.api.map.primitive.IntByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic void removeKey(int key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableIntByteMapremoveKey in interface MutableIntKeysMappublic void remove(int key)
remove in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte removeKeyIfAbsent(int key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte getIfAbsentPut(int key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic <P> byte getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte addToValue(int key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic byte updateValue(int key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic IntByteHashMap withKeyValue(int key1, byte value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic IntByteHashMap withKeysValues(int key1, byte value1, int key2, byte value2)
public IntByteHashMap withKeysValues(int key1, byte value1, int key2, byte value2, int key3, byte value3)
public IntByteHashMap withKeysValues(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)
public IntByteHashMap withoutKey(int key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic IntByteHashMap withoutAllKeys(org.eclipse.collections.api.IntIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic org.eclipse.collections.api.map.primitive.MutableIntByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic org.eclipse.collections.api.map.primitive.MutableIntByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic org.eclipse.collections.api.map.primitive.ImmutableIntByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.IntByteMappublic byte get(int key)
get in interface org.eclipse.collections.api.map.primitive.IntByteMappublic byte getIfAbsent(int key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.IntByteMappublic byte getOrThrow(int key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.IntByteMappublic boolean containsKey(int key)
containsKey in interface org.eclipse.collections.api.map.primitive.IntByteMapcontainsKey in interface IntKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.IntByteMapforEachKey in interface IntKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.IntByteMappublic org.eclipse.collections.api.LazyIntIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.IntByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.IntByteMappublic IntByteHashMap select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.IntByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic IntByteHashMap reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.IntByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableIntByteMappublic 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.MutableIntSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.IntByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMapCopyright © 2004–2017. All rights reserved.