public class FloatDoubleHashMap extends AbstractMutableDoubleValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap, Externalizable, MutableFloatKeysMap
| Constructor and Description |
|---|
FloatDoubleHashMap() |
FloatDoubleHashMap(org.eclipse.collections.api.map.primitive.FloatDoubleMap map) |
FloatDoubleHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(float key,
double toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap |
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(float key) |
org.eclipse.collections.api.iterator.MutableDoubleIterator |
doubleIterator() |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatDoubleProcedure procedure) |
double |
get(float key) |
double |
getIfAbsent(float key,
double ifAbsent) |
double |
getIfAbsentPut(float key,
double value) |
double |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToDoubleFunction function) |
double |
getOrThrow(float 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.MutableFloatSet |
keySet() |
org.eclipse.collections.api.LazyFloatIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatDoublePair> |
keyValuesView() |
static FloatDoubleHashMap |
newWithKeysValues(float key1,
double value1) |
static FloatDoubleHashMap |
newWithKeysValues(float key1,
double value1,
float key2,
double value2) |
static FloatDoubleHashMap |
newWithKeysValues(float key1,
double value1,
float key2,
double value2,
float key3,
double value3) |
static FloatDoubleHashMap |
newWithKeysValues(float key1,
double value1,
float key2,
double value2,
float key3,
double value3,
float key4,
double value4) |
void |
put(float key,
double value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatDoubleMap map) |
void |
readExternal(ObjectInput in) |
FloatDoubleHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatDoublePredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
double |
removeKeyIfAbsent(float key,
double value) |
FloatDoubleHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatDoublePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableFloatDoubleMap |
toImmutable() |
String |
toString() |
double |
updateValue(float key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
values() |
FloatDoubleHashMap |
withKeysValues(float key1,
double value1,
float key2,
double value2) |
FloatDoubleHashMap |
withKeysValues(float key1,
double value1,
float key2,
double value2,
float key3,
double value3) |
FloatDoubleHashMap |
withKeysValues(float key1,
double value1,
float key2,
double value2,
float key3,
double value3,
float key4,
double value4) |
FloatDoubleHashMap |
withKeyValue(float key1,
double value1) |
FloatDoubleHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatDoubleHashMap |
withoutKey(float 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 FloatDoubleHashMap()
public FloatDoubleHashMap(int initialCapacity)
public FloatDoubleHashMap(org.eclipse.collections.api.map.primitive.FloatDoubleMap map)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2, float key3, double value3)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2, float key3, double value3, float key4, double value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatDoubleMaptoString 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 MutableFloatKeysMappublic void put(float key,
double value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatDoubleMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double removeKeyIfAbsent(float key,
double value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double getIfAbsentPut(float key,
double value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic <P> double getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToDoubleFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double addToValue(float key,
double toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic double updateValue(float key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic FloatDoubleHashMap withKeyValue(float key1, double value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2)
public FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2, float key3, double value3)
public FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2, float key3, double value3, float key4, double value4)
public FloatDoubleHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic FloatDoubleHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic org.eclipse.collections.api.map.primitive.MutableFloatDoubleMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatDoubleMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic double get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic double getIfAbsent(float key,
double ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic double getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatDoubleMapcontainsKey in interface FloatKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatDoubleMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatDoubleProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatDoublePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic FloatDoubleHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatDoublePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatDoubleMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic FloatDoubleHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatDoublePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatDoubleMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatDoubleMappublic 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.MutableFloatSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.FloatDoubleMappublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection values()
values in interface org.eclipse.collections.api.map.primitive.DoubleValuesMapCopyright © 2004–2017. All rights reserved.