public class LongFloatHashMap extends AbstractMutableFloatValuesMap implements org.eclipse.collections.api.map.primitive.MutableLongFloatMap, Externalizable, MutableLongKeysMap
| Constructor and Description |
|---|
LongFloatHashMap() |
LongFloatHashMap(int initialCapacity) |
LongFloatHashMap(org.eclipse.collections.api.map.primitive.LongFloatMap map) |
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(long key,
float toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableLongFloatMap |
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(long key) |
boolean |
equals(Object obj) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator() |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongFloatProcedure procedure) |
float |
get(long key) |
float |
getIfAbsent(long key,
float ifAbsent) |
float |
getIfAbsentPut(long key,
float value) |
float |
getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToFloatFunction function) |
float |
getOrThrow(long 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.MutableLongSet |
keySet() |
org.eclipse.collections.api.LazyLongIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongFloatPair> |
keyValuesView() |
static LongFloatHashMap |
newWithKeysValues(long key1,
float value1) |
static LongFloatHashMap |
newWithKeysValues(long key1,
float value1,
long key2,
float value2) |
static LongFloatHashMap |
newWithKeysValues(long key1,
float value1,
long key2,
float value2,
long key3,
float value3) |
static LongFloatHashMap |
newWithKeysValues(long key1,
float value1,
long key2,
float value2,
long key3,
float value3,
long key4,
float value4) |
void |
put(long key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.LongFloatMap map) |
void |
readExternal(ObjectInput in) |
LongFloatHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
float |
removeKeyIfAbsent(long key,
float value) |
LongFloatHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableLongFloatMap |
toImmutable() |
String |
toString() |
float |
updateValue(long key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
LongFloatHashMap |
withKeysValues(long key1,
float value1,
long key2,
float value2) |
LongFloatHashMap |
withKeysValues(long key1,
float value1,
long key2,
float value2,
long key3,
float value3) |
LongFloatHashMap |
withKeysValues(long key1,
float value1,
long key2,
float value2,
long key3,
float value3,
long key4,
float value4) |
LongFloatHashMap |
withKeyValue(long key1,
float value1) |
LongFloatHashMap |
withoutAllKeys(org.eclipse.collections.api.LongIterable keys) |
LongFloatHashMap |
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 LongFloatHashMap()
public LongFloatHashMap(int initialCapacity)
public LongFloatHashMap(org.eclipse.collections.api.map.primitive.LongFloatMap map)
public static LongFloatHashMap newWithKeysValues(long key1, float value1)
public static LongFloatHashMap newWithKeysValues(long key1, float value1, long key2, float value2)
public static LongFloatHashMap newWithKeysValues(long key1, float value1, long key2, float value2, long key3, float value3)
public static LongFloatHashMap newWithKeysValues(long key1, float value1, long key2, float value2, long key3, float value3, long key4, float value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.LongFloatMaptoString 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 MutableLongKeysMappublic void put(long key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.LongFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic void removeKey(long key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMapremoveKey in interface MutableLongKeysMappublic void remove(long key)
remove in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float removeKeyIfAbsent(long key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPut(long key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPut(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic <P> float getIfAbsentPutWith(long key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float getIfAbsentPutWithKey(long key,
org.eclipse.collections.api.block.function.primitive.LongToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float addToValue(long key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic float updateValue(long key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic LongFloatHashMap withKeyValue(long key1, float value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic LongFloatHashMap withKeysValues(long key1, float value1, long key2, float value2)
public LongFloatHashMap withKeysValues(long key1, float value1, long key2, float value2, long key3, float value3)
public LongFloatHashMap withKeysValues(long key1, float value1, long key2, float value2, long key3, float value3, long key4, float value4)
public LongFloatHashMap withoutKey(long key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic LongFloatHashMap withoutAllKeys(org.eclipse.collections.api.LongIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.MutableLongFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableLongFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic float get(long key)
get in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic float getIfAbsent(long key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic float getOrThrow(long key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic boolean containsKey(long key)
containsKey in interface org.eclipse.collections.api.map.primitive.LongFloatMapcontainsKey in interface LongKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.LongFloatMapforEachKey in interface LongKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.LongFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic org.eclipse.collections.api.LazyLongIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.LongFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.LongFloatMappublic LongFloatHashMap select(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.LongFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic LongFloatHashMap reject(org.eclipse.collections.api.block.predicate.primitive.LongFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.LongFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableLongFloatMappublic 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.LongFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMapCopyright © 2004–2018. All rights reserved.