Class AbstractUnmodifiableBooleanCollection
- java.lang.Object
-
- org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableBooleanCollection
-
- All Implemented Interfaces:
Serializable,BooleanIterable,MutableBooleanCollection,PrimitiveIterable
- Direct Known Subclasses:
UnmodifiableBooleanBag,UnmodifiableBooleanCollection,UnmodifiableBooleanList,UnmodifiableBooleanSet
public abstract class AbstractUnmodifiableBooleanCollection extends Object implements MutableBooleanCollection, Serializable
This file was automatically generated from template file abstractUnmodifiablePrimitiveCollection.stg.- Since:
- 3.1.
- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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, select
-
Methods inherited from interface org.eclipse.collections.api.collection.primitive.MutableBooleanCollection
newEmpty, tap
-
-
-
-
Method Detail
-
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
-
contains
public boolean contains(boolean value)
- Specified by:
containsin interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source)
- Specified by:
containsAllin interfaceBooleanIterable
-
containsAll
public boolean containsAll(BooleanIterable source)
- Specified by:
containsAllin interfaceBooleanIterable
-
containsAny
public boolean containsAny(boolean... source)
- Specified by:
containsAnyin interfaceBooleanIterable
-
containsAny
public boolean containsAny(BooleanIterable source)
- Specified by:
containsAnyin interfaceBooleanIterable
-
containsNone
public boolean containsNone(boolean... source)
- Specified by:
containsNonein interfaceBooleanIterable
-
containsNone
public boolean containsNone(BooleanIterable source)
- 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
public boolean addAll(BooleanIterable source)
- Specified by:
addAllin interfaceMutableBooleanCollection
-
remove
public boolean remove(boolean value)
- Specified by:
removein interfaceMutableBooleanCollection
-
removeIf
public boolean removeIf(BooleanPredicate predicate)
- Specified by:
removeIfin interfaceMutableBooleanCollection- Since:
- 9.1
-
removeAll
public boolean removeAll(BooleanIterable source)
- Specified by:
removeAllin interfaceMutableBooleanCollection
-
removeAll
public boolean removeAll(boolean... source)
- Specified by:
removeAllin interfaceMutableBooleanCollection
-
retainAll
public boolean retainAll(BooleanIterable source)
- Specified by:
retainAllin interfaceMutableBooleanCollection
-
retainAll
public boolean retainAll(boolean... source)
- Specified by:
retainAllin interfaceMutableBooleanCollection
-
booleanIterator
public MutableBooleanIterator booleanIterator()
- Specified by:
booleanIteratorin interfaceBooleanIterable- Specified by:
booleanIteratorin interfaceMutableBooleanCollection
-
each
public void each(BooleanProcedure procedure)
- Specified by:
eachin interfaceBooleanIterable- Since:
- 7.0.
-
count
public int count(BooleanPredicate predicate)
- Specified by:
countin interfaceBooleanIterable
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
- Specified by:
anySatisfyin interfaceBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
- Specified by:
allSatisfyin interfaceBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
- Specified by:
noneSatisfyin interfaceBooleanIterable
-
select
public MutableBooleanCollection select(BooleanPredicate predicate)
- Specified by:
selectin interfaceBooleanIterable- Specified by:
selectin interfaceMutableBooleanCollection
-
reject
public MutableBooleanCollection reject(BooleanPredicate predicate)
- Specified by:
rejectin interfaceBooleanIterable- Specified by:
rejectin interfaceMutableBooleanCollection
-
collect
public <V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceBooleanIterable- Specified by:
collectin interfaceMutableBooleanCollection
-
with
public MutableBooleanCollection with(boolean element)
- Specified by:
within interfaceMutableBooleanCollection
-
without
public MutableBooleanCollection without(boolean element)
- Specified by:
withoutin interfaceMutableBooleanCollection
-
withAll
public MutableBooleanCollection withAll(BooleanIterable elements)
- Specified by:
withAllin interfaceMutableBooleanCollection
-
withoutAll
public MutableBooleanCollection withoutAll(BooleanIterable elements)
- Specified by:
withoutAllin interfaceMutableBooleanCollection
-
asUnmodifiable
public MutableBooleanCollection asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableBooleanCollection
-
asSynchronized
public MutableBooleanCollection asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableBooleanCollection
-
toImmutable
public ImmutableBooleanCollection toImmutable()
- Specified by:
toImmutablein interfaceMutableBooleanCollection
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazyin interfaceBooleanIterable
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- Specified by:
detectIfNonein interfaceBooleanIterable
-
toArray
public boolean[] toArray()
- Specified by:
toArrayin interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target)
- Specified by:
toArrayin interfaceBooleanIterable
-
toString
public String toString()
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
toList
public MutableBooleanList toList()
- Specified by:
toListin interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
- Specified by:
toSetin interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
- Specified by:
toBagin interfaceBooleanIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceBooleanIterable
-
reduce
public boolean reduce(BooleanBooleanToBooleanFunction accumulator)
- Specified by:
reducein interfaceBooleanIterable
-
reduceIfEmpty
public boolean reduceIfEmpty(BooleanBooleanToBooleanFunction accumulator, boolean defaultValue)
- Specified by:
reduceIfEmptyin interfaceBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunkin interfaceBooleanIterable
-
-