public class FloatByteHashMap extends AbstractMutableByteValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatByteMap, Externalizable, MutableFloatKeysMap
| Constructor and Description |
|---|
FloatByteHashMap() |
FloatByteHashMap(org.eclipse.collections.api.map.primitive.FloatByteMap map) |
FloatByteHashMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(float key,
byte toBeAdded) |
org.eclipse.collections.api.map.primitive.MutableFloatByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatByteMap |
asUnmodifiable() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator() |
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.FloatByteProcedure procedure) |
byte |
get(float key) |
byte |
getIfAbsent(float key,
byte ifAbsent) |
byte |
getIfAbsentPut(float key,
byte value) |
byte |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToByteFunction function) |
byte |
getOrThrow(float key) |
int |
hashCode() |
<V> V |
injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? 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.FloatBytePair> |
keyValuesView() |
static FloatByteHashMap |
newWithKeysValues(float key1,
byte value1) |
static FloatByteHashMap |
newWithKeysValues(float key1,
byte value1,
float key2,
byte value2) |
static FloatByteHashMap |
newWithKeysValues(float key1,
byte value1,
float key2,
byte value2,
float key3,
byte value3) |
static FloatByteHashMap |
newWithKeysValues(float key1,
byte value1,
float key2,
byte value2,
float key3,
byte value3,
float key4,
byte value4) |
void |
put(float key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatByteMap map) |
void |
readExternal(ObjectInput in) |
FloatByteHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatBytePredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
byte |
removeKeyIfAbsent(float key,
byte value) |
FloatByteHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatBytePredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableFloatByteMap |
toImmutable() |
String |
toString() |
byte |
updateValue(float key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
FloatByteHashMap |
withKeysValues(float key1,
byte value1,
float key2,
byte value2) |
FloatByteHashMap |
withKeysValues(float key1,
byte value1,
float key2,
byte value2,
float key3,
byte value3) |
FloatByteHashMap |
withKeysValues(float key1,
byte value1,
float key2,
byte value2,
float key3,
byte value3,
float key4,
byte value4) |
FloatByteHashMap |
withKeyValue(float key1,
byte value1) |
FloatByteHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatByteHashMap |
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 FloatByteHashMap()
public FloatByteHashMap(int initialCapacity)
public FloatByteHashMap(org.eclipse.collections.api.map.primitive.FloatByteMap map)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3, float key4, byte value4)
public boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatByteMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractByteIterablepublic org.eclipse.collections.api.iterator.MutableByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablebyteIterator in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic <V> V injectInto(V injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super V,? extends V> function)
injectInto in interface org.eclipse.collections.api.ByteIterablepublic void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte removeKeyIfAbsent(float key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte getIfAbsentPut(float key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic <P> byte getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte addToValue(float key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic byte updateValue(float key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic FloatByteHashMap withKeyValue(float key1, byte value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2)
public FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3)
public FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3, float key4, byte value4)
public FloatByteHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic FloatByteHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic org.eclipse.collections.api.map.primitive.MutableFloatByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic org.eclipse.collections.api.map.primitive.MutableFloatByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic byte get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic byte getIfAbsent(float key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic byte getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatByteMapcontainsKey in interface FloatKeysMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatByteMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatByteMappublic FloatByteHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic FloatByteHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatByteMappublic 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.FloatByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMapCopyright © 2004–2018. All rights reserved.