public class FloatFloatHashMap extends AbstractMutableFloatValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatFloatMap, Externalizable, MutableFloatKeysMap
| Constructor and Description |
|---|
FloatFloatHashMap() |
FloatFloatHashMap(org.eclipse.collections.api.map.primitive.FloatFloatMap map) |
FloatFloatHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(float key,
float toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatFloatMap |
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) |
boolean |
equals(Object obj) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator() |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatFloatProcedure procedure) |
float |
get(float key) |
float |
getIfAbsent(float key,
float ifAbsent) |
float |
getIfAbsentPut(float key,
float value) |
float |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
float |
getOrThrow(float key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? 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.FloatFloatPair> |
keyValuesView() |
static FloatFloatHashMap |
newWithKeysValues(float key1,
float value1) |
static FloatFloatHashMap |
newWithKeysValues(float key1,
float value1,
float key2,
float value2) |
static FloatFloatHashMap |
newWithKeysValues(float key1,
float value1,
float key2,
float value2,
float key3,
float value3) |
static FloatFloatHashMap |
newWithKeysValues(float key1,
float value1,
float key2,
float value2,
float key3,
float value3,
float key4,
float value4) |
void |
put(float key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatFloatMap map) |
void |
readExternal(ObjectInput in) |
FloatFloatHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
float |
removeKeyIfAbsent(float key,
float value) |
FloatFloatHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableFloatFloatMap |
toImmutable() |
String |
toString() |
float |
updateValue(float key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
FloatFloatHashMap |
withKeysValues(float key1,
float value1,
float key2,
float value2) |
FloatFloatHashMap |
withKeysValues(float key1,
float value1,
float key2,
float value2,
float key3,
float value3) |
FloatFloatHashMap |
withKeysValues(float key1,
float value1,
float key2,
float value2,
float key3,
float value3,
float key4,
float value4) |
FloatFloatHashMap |
withKeyValue(float key1,
float value1) |
FloatFloatHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatFloatHashMap |
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 FloatFloatHashMap()
public FloatFloatHashMap(int initialCapacity)
public FloatFloatHashMap(org.eclipse.collections.api.map.primitive.FloatFloatMap map)
public static FloatFloatHashMap newWithKeysValues(float key1, float value1)
public static FloatFloatHashMap newWithKeysValues(float key1, float value1, float key2, float value2)
public static FloatFloatHashMap newWithKeysValues(float key1, float value1, float key2, float value2, float key3, float value3)
public static FloatFloatHashMap newWithKeysValues(float key1, float value1, float key2, float value2, float key3, float value3, float key4, float value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatFloatMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractFloatIterablepublic org.eclipse.collections.api.iterator.MutableFloatIterator floatIterator()
floatIterator in interface org.eclipse.collections.api.FloatIterablefloatIterator in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.FloatIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableFloatValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float removeKeyIfAbsent(float key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPut(float key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic <P> float getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float addToValue(float key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic float updateValue(float key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic FloatFloatHashMap withKeyValue(float key1, float value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic FloatFloatHashMap withKeysValues(float key1, float value1, float key2, float value2)
public FloatFloatHashMap withKeysValues(float key1, float value1, float key2, float value2, float key3, float value3)
public FloatFloatHashMap withKeysValues(float key1, float value1, float key2, float value2, float key3, float value3, float key4, float value4)
public FloatFloatHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic FloatFloatHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.MutableFloatFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic float get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic float getIfAbsent(float key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic float getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatFloatMapcontainsKey in interface FloatKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatFloatMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatFloatMappublic FloatFloatHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic FloatFloatHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatFloatMappublic 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.FloatFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMapCopyright © 2004–2017. All rights reserved.