public class CharBooleanHashMap extends AbstractMutableBooleanValuesMap implements org.eclipse.collections.api.map.primitive.MutableCharBooleanMap, MutableCharKeysMap, Externalizable
| Constructor and Description |
|---|
CharBooleanHashMap() |
CharBooleanHashMap(org.eclipse.collections.api.map.primitive.CharBooleanMap map) |
CharBooleanHashMap(int initialCapacity) |
CharBooleanHashMap(int initialCapacity,
float loadFactor)
Deprecated.
in 5.1.0.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.map.primitive.MutableCharBooleanMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableCharBooleanMap |
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(char key) |
boolean |
containsValue(boolean value) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharBooleanProcedure procedure) |
boolean |
get(char key) |
boolean |
getIfAbsent(char key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(char key,
boolean value) |
boolean |
getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToBooleanFunction function) |
boolean |
getOrThrow(char key) |
int |
hashCode() |
org.eclipse.collections.api.set.primitive.MutableCharSet |
keySet() |
org.eclipse.collections.api.LazyCharIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharBooleanPair> |
keyValuesView() |
static CharBooleanHashMap |
newWithKeysValues(char key1,
boolean value1) |
static CharBooleanHashMap |
newWithKeysValues(char key1,
boolean value1,
char key2,
boolean value2) |
static CharBooleanHashMap |
newWithKeysValues(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3) |
static CharBooleanHashMap |
newWithKeysValues(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3,
char key4,
boolean value4) |
void |
put(char key,
boolean value) |
void |
putAll(org.eclipse.collections.api.map.primitive.CharBooleanMap map) |
void |
readExternal(ObjectInput in) |
CharBooleanHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.CharBooleanPredicate predicate) |
void |
remove(char key) |
void |
removeKey(char key) |
boolean |
removeKeyIfAbsent(char key,
boolean value) |
CharBooleanHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.CharBooleanPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableCharBooleanMap |
toImmutable() |
String |
toString() |
boolean |
updateValue(char key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function) |
org.eclipse.collections.api.collection.primitive.MutableBooleanCollection |
values() |
CharBooleanHashMap |
withKeysValues(char key1,
boolean value1,
char key2,
boolean value2) |
CharBooleanHashMap |
withKeysValues(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3) |
CharBooleanHashMap |
withKeysValues(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3,
char key4,
boolean value4) |
CharBooleanHashMap |
withKeyValue(char key1,
boolean value1) |
CharBooleanHashMap |
withoutAllKeys(org.eclipse.collections.api.CharIterable keys) |
CharBooleanHashMap |
withoutKey(char 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 CharBooleanHashMap()
public CharBooleanHashMap(int initialCapacity)
public CharBooleanHashMap(org.eclipse.collections.api.map.primitive.CharBooleanMap map)
@Deprecated public CharBooleanHashMap(int initialCapacity, float loadFactor)
public org.eclipse.collections.api.map.primitive.MutableCharBooleanMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic org.eclipse.collections.api.map.primitive.MutableCharBooleanMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic org.eclipse.collections.api.map.primitive.ImmutableCharBooleanMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic static CharBooleanHashMap newWithKeysValues(char key1, boolean value1)
public static CharBooleanHashMap newWithKeysValues(char key1, boolean value1, char key2, boolean value2)
public static CharBooleanHashMap newWithKeysValues(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)
public static CharBooleanHashMap newWithKeysValues(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)
public CharBooleanHashMap withKeyValue(char key1, boolean value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic CharBooleanHashMap withKeysValues(char key1, boolean value1, char key2, boolean value2)
public CharBooleanHashMap withKeysValues(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)
public CharBooleanHashMap withKeysValues(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)
public CharBooleanHashMap withoutKey(char key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic CharBooleanHashMap withoutAllKeys(org.eclipse.collections.api.CharIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic void compact()
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMapclear in interface MutableCharKeysMappublic void put(char key,
boolean value)
put in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic void putAll(org.eclipse.collections.api.map.primitive.CharBooleanMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean containsKey(char key)
containsKey in interface org.eclipse.collections.api.map.primitive.CharBooleanMapcontainsKey in interface CharKeysMappublic boolean containsValue(boolean value)
containsValue in interface org.eclipse.collections.api.map.primitive.BooleanValuesMappublic boolean get(char key)
get in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic boolean getIfAbsent(char key,
boolean ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic boolean getOrThrow(char key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic boolean getIfAbsentPut(char key,
boolean value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic <P> boolean getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToBooleanFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean updateValue(char key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic void removeKey(char key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMapremoveKey in interface MutableCharKeysMappublic void remove(char key)
remove in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean removeKeyIfAbsent(char key,
boolean value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.CharBooleanMaptoString 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.CharProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.CharBooleanMapforEachKey in interface CharKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharBooleanProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic CharBooleanHashMap select(org.eclipse.collections.api.block.predicate.primitive.CharBooleanPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.CharBooleanMapselect in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic CharBooleanHashMap reject(org.eclipse.collections.api.block.predicate.primitive.CharBooleanPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.CharBooleanMapreject in interface org.eclipse.collections.api.map.primitive.MutableCharBooleanMappublic org.eclipse.collections.api.LazyCharIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharBooleanPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic 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.MutableCharSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.CharBooleanMappublic org.eclipse.collections.api.collection.primitive.MutableBooleanCollection values()
values in interface org.eclipse.collections.api.map.primitive.BooleanValuesMapCopyright © 2004–2017. All rights reserved.