public class LongByteHashMap extends AbstractMutableByteValuesMap implements org.eclipse.collections.api.map.primitive.MutableLongByteMap, Externalizable, MutableLongKeysMap
| Constructor and Description |
|---|
LongByteHashMap() |
LongByteHashMap(int initialCapacity) |
LongByteHashMap(org.eclipse.collections.api.map.primitive.LongByteMap map) |
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(long key,
byte toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableLongByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableLongByteMap |
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(long key) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongByteProcedure procedure) |
byte |
get(long key) |
byte |
getIfAbsent(long key,
byte ifAbsent) |
byte |
getIfAbsentPut(long key,
byte value) |
byte |
getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToByteFunction function) |
byte |
getOrThrow(long 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.MutableLongSet |
keySet() |
org.eclipse.collections.api.LazyLongIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongBytePair> |
keyValuesView() |
static LongByteHashMap |
newWithKeysValues(long key1,
byte value1) |
static LongByteHashMap |
newWithKeysValues(long key1,
byte value1,
long key2,
byte value2) |
static LongByteHashMap |
newWithKeysValues(long key1,
byte value1,
long key2,
byte value2,
long key3,
byte value3) |
static LongByteHashMap |
newWithKeysValues(long key1,
byte value1,
long key2,
byte value2,
long key3,
byte value3,
long key4,
byte value4) |
void |
put(long key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.LongByteMap map) |
void |
readExternal(ObjectInput in) |
LongByteHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.LongBytePredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
byte |
removeKeyIfAbsent(long key,
byte value) |
LongByteHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.LongBytePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableLongByteMap |
toImmutable() |
String |
toString() |
byte |
updateValue(long key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
LongByteHashMap |
withKeysValues(long key1,
byte value1,
long key2,
byte value2) |
LongByteHashMap |
withKeysValues(long key1,
byte value1,
long key2,
byte value2,
long key3,
byte value3) |
LongByteHashMap |
withKeysValues(long key1,
byte value1,
long key2,
byte value2,
long key3,
byte value3,
long key4,
byte value4) |
LongByteHashMap |
withKeyValue(long key1,
byte value1) |
LongByteHashMap |
withoutAllKeys(org.eclipse.collections.api.LongIterable keys) |
LongByteHashMap |
withoutKey(long 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 LongByteHashMap()
public LongByteHashMap(int initialCapacity)
public LongByteHashMap(org.eclipse.collections.api.map.primitive.LongByteMap map)
public static LongByteHashMap newWithKeysValues(long key1, byte value1)
public static LongByteHashMap newWithKeysValues(long key1, byte value1, long key2, byte value2)
public static LongByteHashMap newWithKeysValues(long key1, byte value1, long key2, byte value2, long key3, byte value3)
public static LongByteHashMap newWithKeysValues(long key1, byte value1, long key2, byte value2, long key3, byte value3, long key4, byte value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.LongByteMaptoString 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 MutableLongKeysMappublic void put(long key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic void putAll(org.eclipse.collections.api.map.primitive.LongByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic void removeKey(long key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableLongByteMapremoveKey in interface MutableLongKeysMappublic void remove(long key)
remove in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte removeKeyIfAbsent(long key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte getIfAbsentPut(long key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic <P> byte getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte addToValue(long key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic byte updateValue(long key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic LongByteHashMap withKeyValue(long key1, byte value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic LongByteHashMap withKeysValues(long key1, byte value1, long key2, byte value2)
public LongByteHashMap withKeysValues(long key1, byte value1, long key2, byte value2, long key3, byte value3)
public LongByteHashMap withKeysValues(long key1, byte value1, long key2, byte value2, long key3, byte value3, long key4, byte value4)
public LongByteHashMap withoutKey(long key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic LongByteHashMap withoutAllKeys(org.eclipse.collections.api.LongIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic org.eclipse.collections.api.map.primitive.MutableLongByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic org.eclipse.collections.api.map.primitive.MutableLongByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic org.eclipse.collections.api.map.primitive.ImmutableLongByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.LongByteMappublic byte get(long key)
get in interface org.eclipse.collections.api.map.primitive.LongByteMappublic byte getIfAbsent(long key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.LongByteMappublic byte getOrThrow(long key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.LongByteMappublic boolean containsKey(long key)
containsKey in interface org.eclipse.collections.api.map.primitive.LongByteMapcontainsKey in interface LongKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.LongByteMapforEachKey in interface LongKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.LongByteMappublic org.eclipse.collections.api.LazyLongIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.LongByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.LongByteMappublic LongByteHashMap select(org.eclipse.collections.api.block.predicate.primitive.LongBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.LongByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic LongByteHashMap reject(org.eclipse.collections.api.block.predicate.primitive.LongBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.LongByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableLongByteMappublic 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.MutableLongSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.LongByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMapCopyright © 2004–2018. All rights reserved.