Class SynchronizedByteBooleanMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.SynchronizedByteBooleanMap
- All Implemented Interfaces:
Serializable,BooleanIterable,BooleanValuesMap,ByteBooleanMap,MutableBooleanValuesMap,MutableByteBooleanMap,PrimitiveIterable
public class SynchronizedByteBooleanMap
extends Object
implements MutableByteBooleanMap, Serializable
A synchronized view of a
MutableByteBooleanMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableBooleanIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BooleanPredicate predicate) booleanallSatisfyKeyValue(ByteBooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()This must be manually synchronized by the developer.chunk(int size) voidclear()<V> MutableBag<V>collect(BooleanToObjectFunction<? extends V> function) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) booleancontainsKey(byte key) booleancontainsValue(boolean value) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) booleanvoidforEachKey(ByteProcedure procedure) voidforEachKeyValue(ByteBooleanProcedure procedure) voidforEachValue(BooleanProcedure procedure) booleanget(byte key) booleangetAndPut(byte key, boolean putValue, boolean defaultValue) booleangetIfAbsent(byte key, boolean ifAbsent) booleangetIfAbsentPut(byte key, boolean value) booleangetIfAbsentPut(byte key, BooleanFunction0 function) <P> booleangetIfAbsentPutWith(byte key, BooleanFunction<? super P> function, P parameter) booleangetIfAbsentPutWithKey(byte key, ByteToBooleanFunction function) booleangetOrThrow(byte key) inthashCode()<T> TinjectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()voidput(byte key, boolean value) voidputAll(ByteBooleanMap map) voidputPair(ByteBooleanPair keyValuePair) reject(BooleanPredicate predicate) reject(ByteBooleanPredicate predicate) voidremove(byte key) voidremoveKey(byte key) booleanremoveKeyIfAbsent(byte key, boolean value) select(BooleanPredicate predicate) select(ByteBooleanPredicate predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()booleanupdateValue(byte key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) voidupdateValues(ByteBooleanToBooleanFunction function) values()withKeyValue(byte key, boolean value) withoutAllKeys(ByteIterable keys) withoutKey(byte key) Methods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, selectMethods inherited from interface org.eclipse.collections.api.map.primitive.BooleanValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.ByteBooleanMap
injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteBooleanMap
withAllKeyValues
-
Constructor Details
-
SynchronizedByteBooleanMap
-
SynchronizedByteBooleanMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableBooleanValuesMap
-
put
public void put(byte key, boolean value) - Specified by:
putin interfaceMutableByteBooleanMap
-
putPair
- Specified by:
putPairin interfaceMutableByteBooleanMap
-
putAll
- Specified by:
putAllin interfaceMutableByteBooleanMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableByteBooleanMap
-
removeKey
public void removeKey(byte key) - Specified by:
removeKeyin interfaceMutableByteBooleanMap
-
remove
public void remove(byte key) - Specified by:
removein interfaceMutableByteBooleanMap
-
removeKeyIfAbsent
public boolean removeKeyIfAbsent(byte key, boolean value) - Specified by:
removeKeyIfAbsentin interfaceMutableByteBooleanMap
-
getIfAbsentPut
public boolean getIfAbsentPut(byte key, boolean value) - Specified by:
getIfAbsentPutin interfaceMutableByteBooleanMap
-
getAndPut
public boolean getAndPut(byte key, boolean putValue, boolean defaultValue) - Specified by:
getAndPutin interfaceMutableByteBooleanMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableByteBooleanMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableByteBooleanMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableByteBooleanMap
-
updateValue
public boolean updateValue(byte key, boolean initialValueIfAbsent, BooleanToBooleanFunction function) - Specified by:
updateValuein interfaceMutableByteBooleanMap
-
get
public boolean get(byte key) - Specified by:
getin interfaceByteBooleanMap
-
getIfAbsent
public boolean getIfAbsent(byte key, boolean ifAbsent) - Specified by:
getIfAbsentin interfaceByteBooleanMap
-
getOrThrow
public boolean getOrThrow(byte key) - Specified by:
getOrThrowin interfaceByteBooleanMap
-
containsKey
public boolean containsKey(byte key) - Specified by:
containsKeyin interfaceByteBooleanMap
-
containsValue
public boolean containsValue(boolean value) - Specified by:
containsValuein interfaceBooleanValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceBooleanValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceByteBooleanMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceByteBooleanMap
-
allSatisfyKeyValue
- Specified by:
allSatisfyKeyValuein interfaceByteBooleanMap- Since:
- 12.0
-
keysView
- Specified by:
keysViewin interfaceByteBooleanMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceByteBooleanMap
-
select
- Specified by:
selectin interfaceByteBooleanMap- Specified by:
selectin interfaceMutableByteBooleanMap
-
reject
- Specified by:
rejectin interfaceByteBooleanMap- Specified by:
rejectin interfaceMutableByteBooleanMap
-
booleanIterator
This must be manually synchronized by the developer.- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanValuesMap
-
each
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceBooleanValuesMap- Specified by:
selectin interfaceMutableBooleanValuesMap
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceBooleanValuesMap- Specified by:
rejectin interfaceMutableBooleanValuesMap
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceBooleanValuesMap- Specified by:
collectin interfaceMutableBooleanValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceBooleanIterable
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target) - Specified by:
toArrayin interfaceBooleanIterable
-
contains
public boolean contains(boolean value) - Specified by:
containsin interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source) - Specified by:
containsAllin interfaceBooleanIterable
-
containsAll
- Specified by:
containsAllin interfaceBooleanIterable
-
toList
- Specified by:
toListin interfaceBooleanIterable
-
toSet
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
- Specified by:
toBagin interfaceBooleanIterable
-
asLazy
- Specified by:
asLazyin interfaceBooleanIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableByteBooleanMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableByteBooleanMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableByteBooleanMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableByteBooleanMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableByteBooleanMap
-
toImmutable
- Specified by:
toImmutablein interfaceByteBooleanMap
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
keySet
- Specified by:
keySetin interfaceByteBooleanMap
-
values
- Specified by:
valuesin interfaceBooleanValuesMap
-
equals
- Specified by:
equalsin interfaceByteBooleanMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceByteBooleanMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceByteBooleanMap- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-