public class DoubleByteHashMap extends AbstractMutableByteValuesMap implements org.eclipse.collections.api.map.primitive.MutableDoubleByteMap, Externalizable, MutableDoubleKeysMap
| Constructor and Description |
|---|
DoubleByteHashMap() |
DoubleByteHashMap(org.eclipse.collections.api.map.primitive.DoubleByteMap map) |
DoubleByteHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(double key,
byte toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableDoubleByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableDoubleByteMap |
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(double key) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleByteProcedure procedure) |
byte |
get(double key) |
byte |
getIfAbsent(double key,
byte ifAbsent) |
byte |
getIfAbsentPut(double key,
byte value) |
byte |
getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToByteFunction function) |
byte |
getOrThrow(double 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.MutableDoubleSet |
keySet() |
org.eclipse.collections.api.LazyDoubleIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleBytePair> |
keyValuesView() |
static DoubleByteHashMap |
newWithKeysValues(double key1,
byte value1) |
static DoubleByteHashMap |
newWithKeysValues(double key1,
byte value1,
double key2,
byte value2) |
static DoubleByteHashMap |
newWithKeysValues(double key1,
byte value1,
double key2,
byte value2,
double key3,
byte value3) |
static DoubleByteHashMap |
newWithKeysValues(double key1,
byte value1,
double key2,
byte value2,
double key3,
byte value3,
double key4,
byte value4) |
void |
put(double key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.DoubleByteMap map) |
void |
readExternal(ObjectInput in) |
DoubleByteHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.DoubleBytePredicate predicate) |
void |
remove(double key) |
void |
removeKey(double key) |
byte |
removeKeyIfAbsent(double key,
byte value) |
DoubleByteHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.DoubleBytePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableDoubleByteMap |
toImmutable() |
String |
toString() |
byte |
updateValue(double key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
DoubleByteHashMap |
withKeysValues(double key1,
byte value1,
double key2,
byte value2) |
DoubleByteHashMap |
withKeysValues(double key1,
byte value1,
double key2,
byte value2,
double key3,
byte value3) |
DoubleByteHashMap |
withKeysValues(double key1,
byte value1,
double key2,
byte value2,
double key3,
byte value3,
double key4,
byte value4) |
DoubleByteHashMap |
withKeyValue(double key1,
byte value1) |
DoubleByteHashMap |
withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys) |
DoubleByteHashMap |
withoutKey(double 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 DoubleByteHashMap()
public DoubleByteHashMap(int initialCapacity)
public DoubleByteHashMap(org.eclipse.collections.api.map.primitive.DoubleByteMap map)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3, double key4, byte value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.DoubleByteMaptoString 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 MutableDoubleKeysMappublic void put(double key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic void putAll(org.eclipse.collections.api.map.primitive.DoubleByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic void removeKey(double key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMapremoveKey in interface MutableDoubleKeysMappublic void remove(double key)
remove in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte removeKeyIfAbsent(double key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte getIfAbsentPut(double key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic <P> byte getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte addToValue(double key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic byte updateValue(double key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic DoubleByteHashMap withKeyValue(double key1, byte value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2)
public DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3)
public DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3, double key4, byte value4)
public DoubleByteHashMap withoutKey(double key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic DoubleByteHashMap withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic org.eclipse.collections.api.map.primitive.MutableDoubleByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic org.eclipse.collections.api.map.primitive.MutableDoubleByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic org.eclipse.collections.api.map.primitive.ImmutableDoubleByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic byte get(double key)
get in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic byte getIfAbsent(double key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic byte getOrThrow(double key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic boolean containsKey(double key)
containsKey in interface org.eclipse.collections.api.map.primitive.DoubleByteMapcontainsKey in interface DoubleKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.DoubleByteMapforEachKey in interface DoubleKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic org.eclipse.collections.api.LazyDoubleIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic DoubleByteHashMap select(org.eclipse.collections.api.block.predicate.primitive.DoubleBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.DoubleByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic DoubleByteHashMap reject(org.eclipse.collections.api.block.predicate.primitive.DoubleBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.DoubleByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableDoubleByteMappublic 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.MutableDoubleSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.DoubleByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMapCopyright © 2004–2018. All rights reserved.