public class ByteDoubleHashMap extends AbstractMutableDoubleValuesMap implements org.eclipse.collections.api.map.primitive.MutableByteDoubleMap, Externalizable, MutableByteKeysMap
| Constructor and Description |
|---|
ByteDoubleHashMap() |
ByteDoubleHashMap(org.eclipse.collections.api.map.primitive.ByteDoubleMap map) |
ByteDoubleHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(byte key,
double toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableByteDoubleMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableByteDoubleMap |
asUnmodifiable() |
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) |
org.eclipse.collections.api.iterator.MutableDoubleIterator |
doubleIterator() |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteDoubleProcedure procedure) |
double |
get(byte key) |
double |
getIfAbsent(byte key,
double ifAbsent) |
double |
getIfAbsentPut(byte key,
double value) |
double |
getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToDoubleFunction function) |
double |
getOrThrow(byte key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? 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.ByteDoublePair> |
keyValuesView() |
static ByteDoubleHashMap |
newWithKeysValues(byte key1,
double value1) |
static ByteDoubleHashMap |
newWithKeysValues(byte key1,
double value1,
byte key2,
double value2) |
static ByteDoubleHashMap |
newWithKeysValues(byte key1,
double value1,
byte key2,
double value2,
byte key3,
double value3) |
static ByteDoubleHashMap |
newWithKeysValues(byte key1,
double value1,
byte key2,
double value2,
byte key3,
double value3,
byte key4,
double value4) |
void |
put(byte key,
double value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ByteDoubleMap map) |
void |
readExternal(ObjectInput in) |
ByteDoubleHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ByteDoublePredicate predicate) |
void |
remove(byte key) |
void |
removeKey(byte key) |
double |
removeKeyIfAbsent(byte key,
double value) |
ByteDoubleHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.ByteDoublePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableByteDoubleMap |
toImmutable() |
String |
toString() |
double |
updateValue(byte key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
values() |
ByteDoubleHashMap |
withKeysValues(byte key1,
double value1,
byte key2,
double value2) |
ByteDoubleHashMap |
withKeysValues(byte key1,
double value1,
byte key2,
double value2,
byte key3,
double value3) |
ByteDoubleHashMap |
withKeysValues(byte key1,
double value1,
byte key2,
double value2,
byte key3,
double value3,
byte key4,
double value4) |
ByteDoubleHashMap |
withKeyValue(byte key1,
double value1) |
ByteDoubleHashMap |
withoutAllKeys(org.eclipse.collections.api.ByteIterable keys) |
ByteDoubleHashMap |
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 ByteDoubleHashMap()
public ByteDoubleHashMap(int initialCapacity)
public ByteDoubleHashMap(org.eclipse.collections.api.map.primitive.ByteDoubleMap map)
public static ByteDoubleHashMap newWithKeysValues(byte key1, double value1)
public static ByteDoubleHashMap newWithKeysValues(byte key1, double value1, byte key2, double value2)
public static ByteDoubleHashMap newWithKeysValues(byte key1, double value1, byte key2, double value2, byte key3, double value3)
public static ByteDoubleHashMap newWithKeysValues(byte key1, double value1, byte key2, double value2, byte key3, double value3, byte key4, double value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.ByteDoubleMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractDoubleIterablepublic org.eclipse.collections.api.iterator.MutableDoubleIterator doubleIterator()
doubleIterator in interface org.eclipse.collections.api.DoubleIterabledoubleIterator in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.DoubleIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMapclear in interface MutableByteKeysMappublic void put(byte key,
double value)
put in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic void putAll(org.eclipse.collections.api.map.primitive.ByteDoubleMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic void removeKey(byte key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMapremoveKey in interface MutableByteKeysMappublic void remove(byte key)
remove in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double removeKeyIfAbsent(byte key,
double value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double getIfAbsentPut(byte key,
double value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic <P> double getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToDoubleFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double addToValue(byte key,
double toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic double updateValue(byte key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic ByteDoubleHashMap withKeyValue(byte key1, double value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic ByteDoubleHashMap withKeysValues(byte key1, double value1, byte key2, double value2)
public ByteDoubleHashMap withKeysValues(byte key1, double value1, byte key2, double value2, byte key3, double value3)
public ByteDoubleHashMap withKeysValues(byte key1, double value1, byte key2, double value2, byte key3, double value3, byte key4, double value4)
public ByteDoubleHashMap withoutKey(byte key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic ByteDoubleHashMap withoutAllKeys(org.eclipse.collections.api.ByteIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic org.eclipse.collections.api.map.primitive.MutableByteDoubleMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic org.eclipse.collections.api.map.primitive.MutableByteDoubleMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic org.eclipse.collections.api.map.primitive.ImmutableByteDoubleMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic double get(byte key)
get in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic double getIfAbsent(byte key,
double ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic double getOrThrow(byte key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic boolean containsKey(byte key)
containsKey in interface org.eclipse.collections.api.map.primitive.ByteDoubleMapcontainsKey in interface ByteKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ByteDoubleMapforEachKey in interface ByteKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteDoubleProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic org.eclipse.collections.api.LazyByteIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteDoublePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ByteDoubleMappublic ByteDoubleHashMap select(org.eclipse.collections.api.block.predicate.primitive.ByteDoublePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.ByteDoubleMapselect in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic ByteDoubleHashMap reject(org.eclipse.collections.api.block.predicate.primitive.ByteDoublePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.ByteDoubleMapreject in interface org.eclipse.collections.api.map.primitive.MutableByteDoubleMappublic 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.ByteDoubleMappublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection values()
values in interface org.eclipse.collections.api.map.primitive.DoubleValuesMapCopyright © 2004–2018. All rights reserved.