public class DoubleBooleanHashMap extends AbstractMutableBooleanValuesMap implements org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap, MutableDoubleKeysMap, Externalizable
| Constructor and Description |
|---|
DoubleBooleanHashMap() |
DoubleBooleanHashMap(org.eclipse.collections.api.map.primitive.DoubleBooleanMap map) |
DoubleBooleanHashMap(int initialCapacity) |
DoubleBooleanHashMap(int initialCapacity,
float loadFactor)
Deprecated.
in 5.1.0.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap |
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(double key) |
boolean |
containsValue(boolean value) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleBooleanProcedure procedure) |
boolean |
get(double key) |
boolean |
getIfAbsent(double key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(double key,
boolean value) |
boolean |
getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToBooleanFunction function) |
boolean |
getOrThrow(double key) |
int |
hashCode() |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
keySet() |
org.eclipse.collections.api.LazyDoubleIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleBooleanPair> |
keyValuesView() |
static DoubleBooleanHashMap |
newWithKeysValues(double key1,
boolean value1) |
static DoubleBooleanHashMap |
newWithKeysValues(double key1,
boolean value1,
double key2,
boolean value2) |
static DoubleBooleanHashMap |
newWithKeysValues(double key1,
boolean value1,
double key2,
boolean value2,
double key3,
boolean value3) |
static DoubleBooleanHashMap |
newWithKeysValues(double key1,
boolean value1,
double key2,
boolean value2,
double key3,
boolean value3,
double key4,
boolean value4) |
void |
put(double key,
boolean value) |
void |
putAll(org.eclipse.collections.api.map.primitive.DoubleBooleanMap map) |
void |
readExternal(ObjectInput in) |
DoubleBooleanHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.DoubleBooleanPredicate predicate) |
void |
remove(double key) |
void |
removeKey(double key) |
boolean |
removeKeyIfAbsent(double key,
boolean value) |
DoubleBooleanHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.DoubleBooleanPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableDoubleBooleanMap |
toImmutable() |
String |
toString() |
boolean |
updateValue(double key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function) |
org.eclipse.collections.api.collection.primitive.MutableBooleanCollection |
values() |
DoubleBooleanHashMap |
withKeysValues(double key1,
boolean value1,
double key2,
boolean value2) |
DoubleBooleanHashMap |
withKeysValues(double key1,
boolean value1,
double key2,
boolean value2,
double key3,
boolean value3) |
DoubleBooleanHashMap |
withKeysValues(double key1,
boolean value1,
double key2,
boolean value2,
double key3,
boolean value3,
double key4,
boolean value4) |
DoubleBooleanHashMap |
withKeyValue(double key1,
boolean value1) |
DoubleBooleanHashMap |
withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys) |
DoubleBooleanHashMap |
withoutKey(double 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 DoubleBooleanHashMap()
public DoubleBooleanHashMap(int initialCapacity)
public DoubleBooleanHashMap(org.eclipse.collections.api.map.primitive.DoubleBooleanMap map)
@Deprecated public DoubleBooleanHashMap(int initialCapacity, float loadFactor)
public org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic org.eclipse.collections.api.map.primitive.ImmutableDoubleBooleanMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic static DoubleBooleanHashMap newWithKeysValues(double key1, boolean value1)
public static DoubleBooleanHashMap newWithKeysValues(double key1, boolean value1, double key2, boolean value2)
public static DoubleBooleanHashMap newWithKeysValues(double key1, boolean value1, double key2, boolean value2, double key3, boolean value3)
public static DoubleBooleanHashMap newWithKeysValues(double key1, boolean value1, double key2, boolean value2, double key3, boolean value3, double key4, boolean value4)
public DoubleBooleanHashMap withKeyValue(double key1, boolean value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic DoubleBooleanHashMap withKeysValues(double key1, boolean value1, double key2, boolean value2)
public DoubleBooleanHashMap withKeysValues(double key1, boolean value1, double key2, boolean value2, double key3, boolean value3)
public DoubleBooleanHashMap withKeysValues(double key1, boolean value1, double key2, boolean value2, double key3, boolean value3, double key4, boolean value4)
public DoubleBooleanHashMap withoutKey(double key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic DoubleBooleanHashMap withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic void compact()
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMapclear in interface MutableDoubleKeysMappublic void put(double key,
boolean value)
put in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic void putAll(org.eclipse.collections.api.map.primitive.DoubleBooleanMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean containsKey(double key)
containsKey in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMapcontainsKey in interface DoubleKeysMappublic boolean containsValue(boolean value)
containsValue in interface org.eclipse.collections.api.map.primitive.BooleanValuesMappublic boolean get(double key)
get in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic boolean getIfAbsent(double key,
boolean ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic boolean getOrThrow(double key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic boolean getIfAbsentPut(double key,
boolean value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic <P> boolean getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToBooleanFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean updateValue(double key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic void removeKey(double key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMapremoveKey in interface MutableDoubleKeysMappublic void remove(double key)
remove in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean removeKeyIfAbsent(double key,
boolean value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMaptoString 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.DoubleProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMapforEachKey in interface DoubleKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleBooleanProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic DoubleBooleanHashMap select(org.eclipse.collections.api.block.predicate.primitive.DoubleBooleanPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMapselect in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic DoubleBooleanHashMap reject(org.eclipse.collections.api.block.predicate.primitive.DoubleBooleanPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMapreject in interface org.eclipse.collections.api.map.primitive.MutableDoubleBooleanMappublic org.eclipse.collections.api.LazyDoubleIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleBooleanPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic 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.MutableDoubleSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.DoubleBooleanMappublic org.eclipse.collections.api.collection.primitive.MutableBooleanCollection values()
values in interface org.eclipse.collections.api.map.primitive.BooleanValuesMapCopyright © 2004–2018. All rights reserved.