public class FloatBooleanHashMap extends AbstractMutableBooleanValuesMap implements org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap, MutableFloatKeysMap, Externalizable
| Constructor and Description |
|---|
FloatBooleanHashMap() |
FloatBooleanHashMap(org.eclipse.collections.api.map.primitive.FloatBooleanMap map) |
FloatBooleanHashMap(int initialCapacity) |
FloatBooleanHashMap(int initialCapacity,
float loadFactor)
Deprecated.
in 5.1.0.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap |
asUnmodifiable() |
org.eclipse.collections.api.iterator.MutableBooleanIterator |
booleanIterator() |
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 |
containsValue(boolean value) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatBooleanProcedure procedure) |
boolean |
get(float key) |
boolean |
getIfAbsent(float key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(float key,
boolean value) |
boolean |
getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToBooleanFunction function) |
boolean |
getOrThrow(float key) |
int |
hashCode() |
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.FloatBooleanPair> |
keyValuesView() |
static FloatBooleanHashMap |
newWithKeysValues(float key1,
boolean value1) |
static FloatBooleanHashMap |
newWithKeysValues(float key1,
boolean value1,
float key2,
boolean value2) |
static FloatBooleanHashMap |
newWithKeysValues(float key1,
boolean value1,
float key2,
boolean value2,
float key3,
boolean value3) |
static FloatBooleanHashMap |
newWithKeysValues(float key1,
boolean value1,
float key2,
boolean value2,
float key3,
boolean value3,
float key4,
boolean value4) |
void |
put(float key,
boolean value) |
void |
putAll(org.eclipse.collections.api.map.primitive.FloatBooleanMap map) |
void |
readExternal(ObjectInput in) |
FloatBooleanHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatBooleanPredicate predicate) |
void |
remove(float key) |
void |
removeKey(float key) |
boolean |
removeKeyIfAbsent(float key,
boolean value) |
FloatBooleanHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.FloatBooleanPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableFloatBooleanMap |
toImmutable() |
String |
toString() |
boolean |
updateValue(float key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function) |
org.eclipse.collections.api.collection.primitive.MutableBooleanCollection |
values() |
FloatBooleanHashMap |
withKeysValues(float key1,
boolean value1,
float key2,
boolean value2) |
FloatBooleanHashMap |
withKeysValues(float key1,
boolean value1,
float key2,
boolean value2,
float key3,
boolean value3) |
FloatBooleanHashMap |
withKeysValues(float key1,
boolean value1,
float key2,
boolean value2,
float key3,
boolean value3,
float key4,
boolean value4) |
FloatBooleanHashMap |
withKeyValue(float key1,
boolean value1) |
FloatBooleanHashMap |
withoutAllKeys(org.eclipse.collections.api.FloatIterable keys) |
FloatBooleanHashMap |
withoutKey(float key) |
void |
writeExternal(ObjectOutput out) |
allSatisfy, anySatisfy, appendString, collect, contains, containsAll, count, detectIfNone, each, forEach, forEachValue, injectInto, isEmpty, noneSatisfy, notEmpty, reject, select, size, toArrayappendString, appendString, asLazy, containsAll, makeString, makeString, makeString, toBag, toList, toSetcollect, reject, selectforEachValueallSatisfy, anySatisfy, asLazy, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, noneSatisfy, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeisEmpty, notEmpty, sizepublic FloatBooleanHashMap()
public FloatBooleanHashMap(int initialCapacity)
public FloatBooleanHashMap(org.eclipse.collections.api.map.primitive.FloatBooleanMap map)
@Deprecated public FloatBooleanHashMap(int initialCapacity, float loadFactor)
public org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic org.eclipse.collections.api.map.primitive.MutableFloatBooleanMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic org.eclipse.collections.api.map.primitive.ImmutableFloatBooleanMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic static FloatBooleanHashMap newWithKeysValues(float key1, boolean value1)
public static FloatBooleanHashMap newWithKeysValues(float key1, boolean value1, float key2, boolean value2)
public static FloatBooleanHashMap newWithKeysValues(float key1, boolean value1, float key2, boolean value2, float key3, boolean value3)
public static FloatBooleanHashMap newWithKeysValues(float key1, boolean value1, float key2, boolean value2, float key3, boolean value3, float key4, boolean value4)
public FloatBooleanHashMap withKeyValue(float key1, boolean value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic FloatBooleanHashMap withKeysValues(float key1, boolean value1, float key2, boolean value2)
public FloatBooleanHashMap withKeysValues(float key1, boolean value1, float key2, boolean value2, float key3, boolean value3)
public FloatBooleanHashMap withKeysValues(float key1, boolean value1, float key2, boolean value2, float key3, boolean value3, float key4, boolean value4)
public FloatBooleanHashMap withoutKey(float key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic FloatBooleanHashMap withoutAllKeys(org.eclipse.collections.api.FloatIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic void compact()
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
boolean value)
put in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic void putAll(org.eclipse.collections.api.map.primitive.FloatBooleanMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean containsKey(float key)
containsKey in interface org.eclipse.collections.api.map.primitive.FloatBooleanMapcontainsKey in interface FloatKeysMappublic boolean containsValue(boolean value)
containsValue in interface org.eclipse.collections.api.map.primitive.BooleanValuesMappublic boolean get(float key)
get in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic boolean getIfAbsent(float key,
boolean ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic boolean getOrThrow(float key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic boolean getIfAbsentPut(float key,
boolean value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean getIfAbsentPut(float key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic <P> boolean getIfAbsentPutWith(float key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean getIfAbsentPutWithKey(float key,
org.eclipse.collections.api.block.function.primitive.FloatToBooleanFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean updateValue(float key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic void removeKey(float key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean removeKeyIfAbsent(float key,
boolean value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.FloatBooleanMaptoString in interface org.eclipse.collections.api.PrimitiveIterabletoString in class AbstractBooleanIterablepublic org.eclipse.collections.api.iterator.MutableBooleanIterator booleanIterator()
booleanIterator in interface org.eclipse.collections.api.BooleanIterablebooleanIterator in interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.FloatBooleanMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.FloatBooleanProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic FloatBooleanHashMap select(org.eclipse.collections.api.block.predicate.primitive.FloatBooleanPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.FloatBooleanMapselect in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic FloatBooleanHashMap reject(org.eclipse.collections.api.block.predicate.primitive.FloatBooleanPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.FloatBooleanMapreject in interface org.eclipse.collections.api.map.primitive.MutableFloatBooleanMappublic org.eclipse.collections.api.LazyFloatIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.FloatBooleanPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic org.eclipse.collections.api.set.primitive.MutableFloatSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.FloatBooleanMappublic org.eclipse.collections.api.collection.primitive.MutableBooleanCollection values()
values in interface org.eclipse.collections.api.map.primitive.BooleanValuesMapCopyright © 2004–2018. All rights reserved.