public class FloatShortHashMap extends AbstractMutableShortValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatShortMap, Externalizable, MutableFloatKeysMap
| Constructor and Description |
|---|
FloatShortHashMap() |
FloatShortHashMap(org.eclipse.collections.api.map.primitive.FloatShortMap map) |
FloatShortHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
short |
addToValue(float key,
short toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableFloatShortMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatShortMap |
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) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatShortProcedure procedure) |
short |
get(float key) |
short |
getIfAbsent(float key,
short ifAbsent) |
short |
getIfAbsentPut(float key,
short value) |
short |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.ShortFunction0 function) |
<P> short |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.ShortFunction<? super P> function,
P parameter) |
short |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToShortFunction function) |
short |
getOrThrow(float key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectShortToObjectFunction<? 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.FloatShortPair> |
keyValuesView() |
static FloatShortHashMap |
newWithKeysValues(float key1,
short value1) |
static FloatShortHashMap |
newWithKeysValues(float key1,
short value1,
float key2,
short value2) |
static FloatShortHashMap |
newWithKeysValues(float key1,
short value1,
float key2,
short value2,
float key3,
short value3) |
static FloatShortHashMap |
newWithKeysValues(float key1,
short value1,
float key2,
short value2,
float key3,
short value3,
float key4,
short value4) |
void |
put(float key,
short value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatShortMap map) |
void |
readExternal(ObjectInput in) |
FloatShortHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatShortPredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
short |
removeKeyIfAbsent(float key,
short value) |
FloatShortHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatShortPredicate predicate) |
org.eclipse.collections.api.iterator.MutableShortIterator |
shortIterator() |
org.eclipse.collections.api.map.primitive.ImmutableFloatShortMap |
toImmutable() |
String |
toString() |
short |
updateValue(float key,
short initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ShortToShortFunction function) |
org.eclipse.collections.api.collection.primitive.MutableShortCollection |
values() |
FloatShortHashMap |
withKeysValues(float key1,
short value1,
float key2,
short value2) |
FloatShortHashMap |
withKeysValues(float key1,
short value1,
float key2,
short value2,
float key3,
short value3) |
FloatShortHashMap |
withKeysValues(float key1,
short value1,
float key2,
short value2,
float key3,
short value3,
float key4,
short value4) |
FloatShortHashMap |
withKeyValue(float key1,
short value1) |
FloatShortHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatShortHashMap |
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 FloatShortHashMap()
public FloatShortHashMap(int initialCapacity)
public FloatShortHashMap(org.eclipse.collections.api.map.primitive.FloatShortMap map)
public static FloatShortHashMap newWithKeysValues(float key1, short value1)
public static FloatShortHashMap newWithKeysValues(float key1, short value1, float key2, short value2)
public static FloatShortHashMap newWithKeysValues(float key1, short value1, float key2, short value2, float key3, short value3)
public static FloatShortHashMap newWithKeysValues(float key1, short value1, float key2, short value2, float key3, short value3, float key4, short value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatShortMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractShortIterablepublic org.eclipse.collections.api.iterator.MutableShortIterator shortIterator()
shortIterator in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapshortIterator in interface org.eclipse.collections.api.ShortIterablepublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectShortToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.ShortIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
short value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatShortMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short removeKeyIfAbsent(float key,
short value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short getIfAbsentPut(float key,
short value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.ShortFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic <P> short getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.ShortFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToShortFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short addToValue(float key,
short toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic short updateValue(float key,
short initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ShortToShortFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic FloatShortHashMap withKeyValue(float key1, short value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic FloatShortHashMap withKeysValues(float key1, short value1, float key2, short value2)
public FloatShortHashMap withKeysValues(float key1, short value1, float key2, short value2, float key3, short value3)
public FloatShortHashMap withKeysValues(float key1, short value1, float key2, short value2, float key3, short value3, float key4, short value4)
public FloatShortHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic FloatShortHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic org.eclipse.collections.api.map.primitive.MutableFloatShortMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic org.eclipse.collections.api.map.primitive.MutableFloatShortMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatShortMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic short get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic short getIfAbsent(float key,
short ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic short getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatShortMapcontainsKey in interface FloatKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatShortMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatShortProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatShortPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatShortMappublic FloatShortHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatShortPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatShortMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic FloatShortHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatShortPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatShortMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatShortMappublic 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.FloatShortMappublic org.eclipse.collections.api.collection.primitive.MutableShortCollection values()
values in interface org.eclipse.collections.api.map.primitive.ShortValuesMapCopyright © 2004–2017. All rights reserved.