public class CharFloatHashMap extends AbstractMutableFloatValuesMap implements org.eclipse.collections.api.map.primitive.MutableCharFloatMap, Externalizable, MutableCharKeysMap
| Constructor and Description |
|---|
CharFloatHashMap() |
CharFloatHashMap(org.eclipse.collections.api.map.primitive.CharFloatMap map) |
CharFloatHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(char key,
float toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableCharFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableCharFloatMap |
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(char key) |
boolean |
equals(Object obj) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator() |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharFloatProcedure procedure) |
float |
get(char key) |
float |
getIfAbsent(char key,
float ifAbsent) |
float |
getIfAbsentPut(char key,
float value) |
float |
getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToFloatFunction function) |
float |
getOrThrow(char 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.MutableCharSet |
keySet() |
org.eclipse.collections.api.LazyCharIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharFloatPair> |
keyValuesView() |
static CharFloatHashMap |
newWithKeysValues(char key1,
float value1) |
static CharFloatHashMap |
newWithKeysValues(char key1,
float value1,
char key2,
float value2) |
static CharFloatHashMap |
newWithKeysValues(char key1,
float value1,
char key2,
float value2,
char key3,
float value3) |
static CharFloatHashMap |
newWithKeysValues(char key1,
float value1,
char key2,
float value2,
char key3,
float value3,
char key4,
float value4) |
void |
put(char key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.CharFloatMap map) |
void |
readExternal(ObjectInput in) |
CharFloatHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.CharFloatPredicate predicate) |
void |
remove(char key) |
void |
removeKey(char key) |
float |
removeKeyIfAbsent(char key,
float value) |
CharFloatHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.CharFloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap |
toImmutable() |
String |
toString() |
float |
updateValue(char key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
CharFloatHashMap |
withKeysValues(char key1,
float value1,
char key2,
float value2) |
CharFloatHashMap |
withKeysValues(char key1,
float value1,
char key2,
float value2,
char key3,
float value3) |
CharFloatHashMap |
withKeysValues(char key1,
float value1,
char key2,
float value2,
char key3,
float value3,
char key4,
float value4) |
CharFloatHashMap |
withKeyValue(char key1,
float value1) |
CharFloatHashMap |
withoutAllKeys(org.eclipse.collections.api.CharIterable keys) |
CharFloatHashMap |
withoutKey(char 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 CharFloatHashMap()
public CharFloatHashMap(int initialCapacity)
public CharFloatHashMap(org.eclipse.collections.api.map.primitive.CharFloatMap map)
public static CharFloatHashMap newWithKeysValues(char key1, float value1)
public static CharFloatHashMap newWithKeysValues(char key1, float value1, char key2, float value2)
public static CharFloatHashMap newWithKeysValues(char key1, float value1, char key2, float value2, char key3, float value3)
public static CharFloatHashMap newWithKeysValues(char key1, float value1, char key2, float value2, char key3, float value3, char key4, float value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.CharFloatMaptoString 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 MutableCharKeysMappublic void put(char key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.CharFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic void removeKey(char key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMapremoveKey in interface MutableCharKeysMappublic void remove(char key)
remove in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float removeKeyIfAbsent(char key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float getIfAbsentPut(char key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic <P> float getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float addToValue(char key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic float updateValue(char key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic CharFloatHashMap withKeyValue(char key1, float value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic CharFloatHashMap withKeysValues(char key1, float value1, char key2, float value2)
public CharFloatHashMap withKeysValues(char key1, float value1, char key2, float value2, char key3, float value3)
public CharFloatHashMap withKeysValues(char key1, float value1, char key2, float value2, char key3, float value3, char key4, float value4)
public CharFloatHashMap withoutKey(char key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic CharFloatHashMap withoutAllKeys(org.eclipse.collections.api.CharIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic org.eclipse.collections.api.map.primitive.MutableCharFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic org.eclipse.collections.api.map.primitive.MutableCharFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableCharFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic float get(char key)
get in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic float getIfAbsent(char key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic float getOrThrow(char key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic boolean containsKey(char key)
containsKey in interface org.eclipse.collections.api.map.primitive.CharFloatMapcontainsKey in interface CharKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.CharFloatMapforEachKey in interface CharKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic org.eclipse.collections.api.LazyCharIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic CharFloatHashMap select(org.eclipse.collections.api.block.predicate.primitive.CharFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.CharFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic CharFloatHashMap reject(org.eclipse.collections.api.block.predicate.primitive.CharFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.CharFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableCharFloatMappublic 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.MutableCharSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.CharFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMapCopyright © 2004–2018. All rights reserved.