Class AbstractSynchronizedBooleanCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractSynchronizedBooleanCollection
- All Implemented Interfaces:
Serializable,BooleanIterable,MutableBooleanCollection,PrimitiveIterable
- Direct Known Subclasses:
SynchronizedBooleanBag,SynchronizedBooleanCollection,SynchronizedBooleanList,SynchronizedBooleanSet
public abstract class AbstractSynchronizedBooleanCollection
extends Object
implements MutableBooleanCollection, Serializable
This file was automatically generated from template file abstractSynchronizedPrimitiveCollection.stg.
- Since:
- 3.1.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(boolean newItem) booleanaddAll(boolean... source) booleanaddAll(BooleanIterable source) booleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()Must be called in a synchronized block.chunk(int size) voidclear()<V> MutableCollection<V>collect(BooleanToObjectFunction<? extends V> function) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) booleancontainsAny(boolean... source) booleancontainsAny(BooleanIterable source) booleancontainsNone(boolean... source) booleancontainsNone(BooleanIterable source) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) <T> TinjectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()booleanreduce(BooleanBooleanToBooleanFunction accumulator) booleanreduceIfEmpty(BooleanBooleanToBooleanFunction accumulator, boolean defaultValue) reject(BooleanPredicate predicate) booleanremove(boolean value) booleanremoveAll(boolean... source) booleanremoveAll(BooleanIterable source) booleanremoveIf(BooleanPredicate predicate) booleanretainAll(boolean... source) booleanretainAll(BooleanIterable source) select(BooleanPredicate predicate) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()with(boolean element) withAll(BooleanIterable elements) without(boolean element) withoutAll(BooleanIterable elements) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reject, selectMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollection
newEmpty, tap
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
clear
public void clear()- Specified by:
clearin interfaceMutableBooleanCollection
-
select
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceMutableBooleanCollection
-
reject
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceMutableBooleanCollection
-
collect
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceMutableBooleanCollection
-
with
- Specified by:
within interfaceMutableBooleanCollection
-
without
- Specified by:
withoutin interfaceMutableBooleanCollection
-
withAll
- Specified by:
withAllin interfaceMutableBooleanCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableBooleanCollection
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableBooleanCollection
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableBooleanCollection
-
toImmutable
- Specified by:
toImmutablein interfaceMutableBooleanCollection
-
asLazy
- Specified by:
asLazyin 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
-
containsAny
public boolean containsAny(boolean... source) - Specified by:
containsAnyin interfaceBooleanIterable
-
containsAny
- Specified by:
containsAnyin interfaceBooleanIterable
-
containsNone
public boolean containsNone(boolean... source) - Specified by:
containsNonein interfaceBooleanIterable
-
containsNone
- Specified by:
containsNonein interfaceBooleanIterable
-
add
public boolean add(boolean newItem) - Specified by:
addin interfaceMutableBooleanCollection
-
addAll
public boolean addAll(boolean... source) - Specified by:
addAllin interfaceMutableBooleanCollection
-
addAll
- Specified by:
addAllin interfaceMutableBooleanCollection
-
remove
public boolean remove(boolean value) - Specified by:
removein interfaceMutableBooleanCollection
-
removeIf
- Specified by:
removeIfin interfaceMutableBooleanCollection
-
removeAll
- Specified by:
removeAllin interfaceMutableBooleanCollection
-
removeAll
public boolean removeAll(boolean... source) - Specified by:
removeAllin interfaceMutableBooleanCollection
-
retainAll
- Specified by:
retainAllin interfaceMutableBooleanCollection
-
retainAll
public boolean retainAll(boolean... source) - Specified by:
retainAllin interfaceMutableBooleanCollection
-
booleanIterator
Must be called in a synchronized block.- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanCollection
-
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
-
detectIfNone
- Specified by:
detectIfNonein interfaceBooleanIterable
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target) - Specified by:
toArrayin interfaceBooleanIterable
-
toString
- 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
-
toList
- Specified by:
toListin interfaceBooleanIterable
-
toSet
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
- Specified by:
toBagin interfaceBooleanIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
reduce
- Specified by:
reducein interfaceBooleanIterable
-
reduceIfEmpty
- Specified by:
reduceIfEmptyin interfaceBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-