public class FloatCharHashMap extends AbstractMutableCharValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatCharMap, Externalizable, MutableFloatKeysMap
| Constructor and Description |
|---|
FloatCharHashMap() |
FloatCharHashMap(org.eclipse.collections.api.map.primitive.FloatCharMap map) |
FloatCharHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
char |
addToValue(float key,
char toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableFloatCharMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatCharMap |
asUnmodifiable() |
org.eclipse.collections.api.iterator.MutableCharIterator |
charIterator() |
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) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatCharProcedure procedure) |
char |
get(float key) |
char |
getIfAbsent(float key,
char ifAbsent) |
char |
getIfAbsentPut(float key,
char value) |
char |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function) |
<P> char |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter) |
char |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToCharFunction function) |
char |
getOrThrow(float key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? 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.FloatCharPair> |
keyValuesView() |
static FloatCharHashMap |
newWithKeysValues(float key1,
char value1) |
static FloatCharHashMap |
newWithKeysValues(float key1,
char value1,
float key2,
char value2) |
static FloatCharHashMap |
newWithKeysValues(float key1,
char value1,
float key2,
char value2,
float key3,
char value3) |
static FloatCharHashMap |
newWithKeysValues(float key1,
char value1,
float key2,
char value2,
float key3,
char value3,
float key4,
char value4) |
void |
put(float key,
char value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatCharMap map) |
void |
readExternal(ObjectInput in) |
FloatCharHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatCharPredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
char |
removeKeyIfAbsent(float key,
char value) |
FloatCharHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatCharPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableFloatCharMap |
toImmutable() |
String |
toString() |
char |
updateValue(float key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function) |
org.eclipse.collections.api.collection.primitive.MutableCharCollection |
values() |
FloatCharHashMap |
withKeysValues(float key1,
char value1,
float key2,
char value2) |
FloatCharHashMap |
withKeysValues(float key1,
char value1,
float key2,
char value2,
float key3,
char value3) |
FloatCharHashMap |
withKeysValues(float key1,
char value1,
float key2,
char value2,
float key3,
char value3,
float key4,
char value4) |
FloatCharHashMap |
withKeyValue(float key1,
char value1) |
FloatCharHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatCharHashMap |
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 FloatCharHashMap()
public FloatCharHashMap(int initialCapacity)
public FloatCharHashMap(org.eclipse.collections.api.map.primitive.FloatCharMap map)
public static FloatCharHashMap newWithKeysValues(float key1, char value1)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2, float key3, char value3)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2, float key3, char value3, float key4, char value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatCharMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractCharIterablepublic org.eclipse.collections.api.iterator.MutableCharIterator charIterator()
charIterator in interface org.eclipse.collections.api.CharIterablecharIterator in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.CharIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
char value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatCharMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char removeKeyIfAbsent(float key,
char value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char getIfAbsentPut(float key,
char value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic <P> char getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToCharFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char addToValue(float key,
char toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic char updateValue(float key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic FloatCharHashMap withKeyValue(float key1, char value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2)
public FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2, float key3, char value3)
public FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2, float key3, char value3, float key4, char value4)
public FloatCharHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic FloatCharHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic org.eclipse.collections.api.map.primitive.MutableFloatCharMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic org.eclipse.collections.api.map.primitive.MutableFloatCharMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatCharMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic char get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic char getIfAbsent(float key,
char ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic char getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatCharMapcontainsKey in interface FloatKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatCharMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatCharProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatCharPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatCharMappublic FloatCharHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatCharPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatCharMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic FloatCharHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatCharPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatCharMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatCharMappublic 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.FloatCharMappublic org.eclipse.collections.api.collection.primitive.MutableCharCollection values()
values in interface org.eclipse.collections.api.map.primitive.CharValuesMapCopyright © 2004–2018. All rights reserved.