public class ByteFloatHashMap extends AbstractMutableFloatValuesMap implements org.eclipse.collections.api.map.primitive.MutableByteFloatMap, Externalizable, MutableByteKeysMap
| Constructor and Description |
|---|
ByteFloatHashMap() |
ByteFloatHashMap(org.eclipse.collections.api.map.primitive.ByteFloatMap map) |
ByteFloatHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(byte key,
float toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableByteFloatMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableByteFloatMap |
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(byte key) |
boolean |
equals(Object obj) |
org.eclipse.collections.api.iterator.MutableFloatIterator |
floatIterator() |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteFloatProcedure procedure) |
float |
get(byte key) |
float |
getIfAbsent(byte key,
float ifAbsent) |
float |
getIfAbsentPut(byte key,
float value) |
float |
getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToFloatFunction function) |
float |
getOrThrow(byte 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.MutableByteSet |
keySet() |
org.eclipse.collections.api.LazyByteIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteFloatPair> |
keyValuesView() |
static ByteFloatHashMap |
newWithKeysValues(byte key1,
float value1) |
static ByteFloatHashMap |
newWithKeysValues(byte key1,
float value1,
byte key2,
float value2) |
static ByteFloatHashMap |
newWithKeysValues(byte key1,
float value1,
byte key2,
float value2,
byte key3,
float value3) |
static ByteFloatHashMap |
newWithKeysValues(byte key1,
float value1,
byte key2,
float value2,
byte key3,
float value3,
byte key4,
float value4) |
void |
put(byte key,
float value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ByteFloatMap map) |
void |
readExternal(ObjectInput in) |
ByteFloatHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ByteFloatPredicate predicate) |
void |
remove(byte key) |
void |
removeKey(byte key) |
float |
removeKeyIfAbsent(byte key,
float value) |
ByteFloatHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.ByteFloatPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableByteFloatMap |
toImmutable() |
String |
toString() |
float |
updateValue(byte key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function) |
org.eclipse.collections.api.collection.primitive.MutableFloatCollection |
values() |
ByteFloatHashMap |
withKeysValues(byte key1,
float value1,
byte key2,
float value2) |
ByteFloatHashMap |
withKeysValues(byte key1,
float value1,
byte key2,
float value2,
byte key3,
float value3) |
ByteFloatHashMap |
withKeysValues(byte key1,
float value1,
byte key2,
float value2,
byte key3,
float value3,
byte key4,
float value4) |
ByteFloatHashMap |
withKeyValue(byte key1,
float value1) |
ByteFloatHashMap |
withoutAllKeys(org.eclipse.collections.api.ByteIterable keys) |
ByteFloatHashMap |
withoutKey(byte 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 ByteFloatHashMap()
public ByteFloatHashMap(int initialCapacity)
public ByteFloatHashMap(org.eclipse.collections.api.map.primitive.ByteFloatMap map)
public static ByteFloatHashMap newWithKeysValues(byte key1, float value1)
public static ByteFloatHashMap newWithKeysValues(byte key1, float value1, byte key2, float value2)
public static ByteFloatHashMap newWithKeysValues(byte key1, float value1, byte key2, float value2, byte key3, float value3)
public static ByteFloatHashMap newWithKeysValues(byte key1, float value1, byte key2, float value2, byte key3, float value3, byte key4, float value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.ByteFloatMaptoString 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 MutableByteKeysMappublic void put(byte key,
float value)
put in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic void putAll(org.eclipse.collections.api.map.primitive.ByteFloatMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic void removeKey(byte key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMapremoveKey in interface MutableByteKeysMappublic void remove(byte key)
remove in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float removeKeyIfAbsent(byte key,
float value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float getIfAbsentPut(byte key,
float value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.FloatFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic <P> float getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.FloatFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToFloatFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float addToValue(byte key,
float toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic float updateValue(byte key,
float initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic ByteFloatHashMap withKeyValue(byte key1, float value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic ByteFloatHashMap withKeysValues(byte key1, float value1, byte key2, float value2)
public ByteFloatHashMap withKeysValues(byte key1, float value1, byte key2, float value2, byte key3, float value3)
public ByteFloatHashMap withKeysValues(byte key1, float value1, byte key2, float value2, byte key3, float value3, byte key4, float value4)
public ByteFloatHashMap withoutKey(byte key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic ByteFloatHashMap withoutAllKeys(org.eclipse.collections.api.ByteIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic org.eclipse.collections.api.map.primitive.MutableByteFloatMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic org.eclipse.collections.api.map.primitive.MutableByteFloatMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic org.eclipse.collections.api.map.primitive.ImmutableByteFloatMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic float get(byte key)
get in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic float getIfAbsent(byte key,
float ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic float getOrThrow(byte key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic boolean containsKey(byte key)
containsKey in interface org.eclipse.collections.api.map.primitive.ByteFloatMapcontainsKey in interface ByteKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ByteFloatMapforEachKey in interface ByteKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteFloatProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic org.eclipse.collections.api.LazyByteIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteFloatPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic ByteFloatHashMap select(org.eclipse.collections.api.block.predicate.primitive.ByteFloatPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.ByteFloatMapselect in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic ByteFloatHashMap reject(org.eclipse.collections.api.block.predicate.primitive.ByteFloatPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.ByteFloatMapreject in interface org.eclipse.collections.api.map.primitive.MutableByteFloatMappublic 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.MutableByteSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ByteFloatMappublic org.eclipse.collections.api.collection.primitive.MutableFloatCollection values()
values in interface org.eclipse.collections.api.map.primitive.FloatValuesMapCopyright © 2004–2017. All rights reserved.