public class ByteBooleanHashMap extends AbstractMutableBooleanValuesMap implements org.eclipse.collections.api.map.primitive.MutableByteBooleanMap, MutableByteKeysMap, Externalizable
| Constructor and Description |
|---|
ByteBooleanHashMap() |
ByteBooleanHashMap(org.eclipse.collections.api.map.primitive.ByteBooleanMap map) |
ByteBooleanHashMap(int initialCapacity) |
ByteBooleanHashMap(int initialCapacity,
float loadFactor)
Deprecated.
in 5.1.0.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.map.primitive.MutableByteBooleanMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableByteBooleanMap |
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(byte key) |
boolean |
containsValue(boolean value) |
boolean |
equals(Object obj) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteBooleanProcedure procedure) |
boolean |
get(byte key) |
boolean |
getIfAbsent(byte key,
boolean ifAbsent) |
boolean |
getIfAbsentPut(byte key,
boolean value) |
boolean |
getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToBooleanFunction function) |
boolean |
getOrThrow(byte key) |
int |
hashCode() |
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.ByteBooleanPair> |
keyValuesView() |
static ByteBooleanHashMap |
newWithKeysValues(byte key1,
boolean value1) |
static ByteBooleanHashMap |
newWithKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2) |
static ByteBooleanHashMap |
newWithKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2,
byte key3,
boolean value3) |
static ByteBooleanHashMap |
newWithKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2,
byte key3,
boolean value3,
byte key4,
boolean value4) |
void |
put(byte key,
boolean value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ByteBooleanMap map) |
void |
readExternal(ObjectInput in) |
ByteBooleanHashMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ByteBooleanPredicate predicate) |
void |
remove(byte key) |
void |
removeKey(byte key) |
boolean |
removeKeyIfAbsent(byte key,
boolean value) |
ByteBooleanHashMap |
select(org.eclipse.collections.api.block.predicate.primitive.ByteBooleanPredicate predicate) |
org.eclipse.collections.api.map.primitive.ImmutableByteBooleanMap |
toImmutable() |
String |
toString() |
boolean |
updateValue(byte key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function) |
org.eclipse.collections.api.collection.primitive.MutableBooleanCollection |
values() |
ByteBooleanHashMap |
withKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2) |
ByteBooleanHashMap |
withKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2,
byte key3,
boolean value3) |
ByteBooleanHashMap |
withKeysValues(byte key1,
boolean value1,
byte key2,
boolean value2,
byte key3,
boolean value3,
byte key4,
boolean value4) |
ByteBooleanHashMap |
withKeyValue(byte key1,
boolean value1) |
ByteBooleanHashMap |
withoutAllKeys(org.eclipse.collections.api.ByteIterable keys) |
ByteBooleanHashMap |
withoutKey(byte 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 ByteBooleanHashMap()
public ByteBooleanHashMap(int initialCapacity)
public ByteBooleanHashMap(org.eclipse.collections.api.map.primitive.ByteBooleanMap map)
@Deprecated public ByteBooleanHashMap(int initialCapacity, float loadFactor)
public org.eclipse.collections.api.map.primitive.MutableByteBooleanMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic org.eclipse.collections.api.map.primitive.MutableByteBooleanMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic org.eclipse.collections.api.map.primitive.ImmutableByteBooleanMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic static ByteBooleanHashMap newWithKeysValues(byte key1, boolean value1)
public static ByteBooleanHashMap newWithKeysValues(byte key1, boolean value1, byte key2, boolean value2)
public static ByteBooleanHashMap newWithKeysValues(byte key1, boolean value1, byte key2, boolean value2, byte key3, boolean value3)
public static ByteBooleanHashMap newWithKeysValues(byte key1, boolean value1, byte key2, boolean value2, byte key3, boolean value3, byte key4, boolean value4)
public ByteBooleanHashMap withKeyValue(byte key1, boolean value1)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic ByteBooleanHashMap withKeysValues(byte key1, boolean value1, byte key2, boolean value2)
public ByteBooleanHashMap withKeysValues(byte key1, boolean value1, byte key2, boolean value2, byte key3, boolean value3)
public ByteBooleanHashMap withKeysValues(byte key1, boolean value1, byte key2, boolean value2, byte key3, boolean value3, byte key4, boolean value4)
public ByteBooleanHashMap withoutKey(byte key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic ByteBooleanHashMap withoutAllKeys(org.eclipse.collections.api.ByteIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic void compact()
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableBooleanValuesMapclear in interface MutableByteKeysMappublic void put(byte key,
boolean value)
put in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic void putAll(org.eclipse.collections.api.map.primitive.ByteBooleanMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean containsKey(byte key)
containsKey in interface org.eclipse.collections.api.map.primitive.ByteBooleanMapcontainsKey in interface ByteKeysMappublic boolean containsValue(boolean value)
containsValue in interface org.eclipse.collections.api.map.primitive.BooleanValuesMappublic boolean get(byte key)
get in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic boolean getIfAbsent(byte key,
boolean ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic boolean getOrThrow(byte key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic boolean getIfAbsentPut(byte key,
boolean value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean getIfAbsentPut(byte key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic <P> boolean getIfAbsentPutWith(byte key,
org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean getIfAbsentPutWithKey(byte key,
org.eclipse.collections.api.block.function.primitive.ByteToBooleanFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean updateValue(byte key,
boolean initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic void removeKey(byte key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMapremoveKey in interface MutableByteKeysMappublic void remove(byte key)
remove in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean removeKeyIfAbsent(byte key,
boolean value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in interface org.eclipse.collections.api.map.primitive.ByteBooleanMaptoString 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.ByteProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ByteBooleanMapforEachKey in interface ByteKeysMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ByteBooleanProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic ByteBooleanHashMap select(org.eclipse.collections.api.block.predicate.primitive.ByteBooleanPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.ByteBooleanMapselect in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic ByteBooleanHashMap reject(org.eclipse.collections.api.block.predicate.primitive.ByteBooleanPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.ByteBooleanMapreject in interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMappublic org.eclipse.collections.api.LazyByteIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ByteBooleanPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic 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.MutableByteSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ByteBooleanMappublic org.eclipse.collections.api.collection.primitive.MutableBooleanCollection values()
values in interface org.eclipse.collections.api.map.primitive.BooleanValuesMapCopyright © 2004–2017. All rights reserved.