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:
size
in interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
clear
public void clear()
- Specified by:
clear
in interfaceMutableBooleanCollection
-
contains
public boolean contains(boolean value)
- Specified by:
contains
in interfaceBooleanIterable
-
containsAll
public boolean containsAll(boolean... source)
- Specified by:
containsAll
in interfaceBooleanIterable
-
containsAll
public boolean containsAll(BooleanIterable source)
- Specified by:
containsAll
in interfaceBooleanIterable
-
containsAny
public boolean containsAny(boolean... source)
- Specified by:
containsAny
in interfaceBooleanIterable
-
containsAny
public boolean containsAny(BooleanIterable source)
- Specified by:
containsAny
in interfaceBooleanIterable
-
containsNone
public boolean containsNone(boolean... source)
- Specified by:
containsNone
in interfaceBooleanIterable
-
containsNone
public boolean containsNone(BooleanIterable source)
- Specified by:
containsNone
in interfaceBooleanIterable
-
add
public boolean add(boolean newItem)
- Specified by:
add
in interfaceMutableBooleanCollection
-
addAll
public boolean addAll(boolean... source)
- Specified by:
addAll
in interfaceMutableBooleanCollection
-
addAll
public boolean addAll(BooleanIterable source)
- Specified by:
addAll
in interfaceMutableBooleanCollection
-
remove
public boolean remove(boolean value)
- Specified by:
remove
in interfaceMutableBooleanCollection
-
removeIf
public boolean removeIf(BooleanPredicate predicate)
- Specified by:
removeIf
in interfaceMutableBooleanCollection
- Since:
- 9.1
-
removeAll
public boolean removeAll(BooleanIterable source)
- Specified by:
removeAll
in interfaceMutableBooleanCollection
-
removeAll
public boolean removeAll(boolean... source)
- Specified by:
removeAll
in interfaceMutableBooleanCollection
-
retainAll
public boolean retainAll(BooleanIterable source)
- Specified by:
retainAll
in interfaceMutableBooleanCollection
-
retainAll
public boolean retainAll(boolean... source)
- Specified by:
retainAll
in interfaceMutableBooleanCollection
-
booleanIterator
public MutableBooleanIterator booleanIterator()
- Specified by:
booleanIterator
in interfaceBooleanIterable
- Specified by:
booleanIterator
in interfaceMutableBooleanCollection
-
each
public void each(BooleanProcedure procedure)
- Specified by:
each
in interfaceBooleanIterable
- Since:
- 7.0.
-
count
public int count(BooleanPredicate predicate)
- Specified by:
count
in interfaceBooleanIterable
-
anySatisfy
public boolean anySatisfy(BooleanPredicate predicate)
- Specified by:
anySatisfy
in interfaceBooleanIterable
-
allSatisfy
public boolean allSatisfy(BooleanPredicate predicate)
- Specified by:
allSatisfy
in interfaceBooleanIterable
-
noneSatisfy
public boolean noneSatisfy(BooleanPredicate predicate)
- Specified by:
noneSatisfy
in interfaceBooleanIterable
-
select
public MutableBooleanCollection select(BooleanPredicate predicate)
- Specified by:
select
in interfaceBooleanIterable
- Specified by:
select
in interfaceMutableBooleanCollection
-
reject
public MutableBooleanCollection reject(BooleanPredicate predicate)
- Specified by:
reject
in interfaceBooleanIterable
- Specified by:
reject
in interfaceMutableBooleanCollection
-
collect
public <V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceBooleanIterable
- Specified by:
collect
in interfaceMutableBooleanCollection
-
with
public MutableBooleanCollection with(boolean element)
- Specified by:
with
in interfaceMutableBooleanCollection
-
without
public MutableBooleanCollection without(boolean element)
- Specified by:
without
in interfaceMutableBooleanCollection
-
withAll
public MutableBooleanCollection withAll(BooleanIterable elements)
- Specified by:
withAll
in interfaceMutableBooleanCollection
-
withoutAll
public MutableBooleanCollection withoutAll(BooleanIterable elements)
- Specified by:
withoutAll
in interfaceMutableBooleanCollection
-
asUnmodifiable
public MutableBooleanCollection asUnmodifiable()
- Specified by:
asUnmodifiable
in interfaceMutableBooleanCollection
-
asSynchronized
public MutableBooleanCollection asSynchronized()
- Specified by:
asSynchronized
in interfaceMutableBooleanCollection
-
toImmutable
public ImmutableBooleanCollection toImmutable()
- Specified by:
toImmutable
in interfaceMutableBooleanCollection
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazy
in interfaceBooleanIterable
-
detectIfNone
public boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
- Specified by:
detectIfNone
in interfaceBooleanIterable
-
toArray
public boolean[] toArray()
- Specified by:
toArray
in interfaceBooleanIterable
-
toArray
public boolean[] toArray(boolean[] target)
- Specified by:
toArray
in interfaceBooleanIterable
-
toString
public String toString()
- Specified by:
toString
in interfacePrimitiveIterable
- Overrides:
toString
in classObject
-
makeString
public String makeString()
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeString
in interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendString
in interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
toList
public MutableBooleanList toList()
- Specified by:
toList
in interfaceBooleanIterable
-
toSet
public MutableBooleanSet toSet()
- Specified by:
toSet
in interfaceBooleanIterable
-
toBag
public MutableBooleanBag toBag()
- Specified by:
toBag
in interfaceBooleanIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)
- Specified by:
injectInto
in interfaceBooleanIterable
-
reduce
public boolean reduce(BooleanBooleanToBooleanFunction accumulator)
- Specified by:
reduce
in interfaceBooleanIterable
-
reduceIfEmpty
public boolean reduceIfEmpty(BooleanBooleanToBooleanFunction accumulator, boolean defaultValue)
- Specified by:
reduceIfEmpty
in interfaceBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunk
in interfaceBooleanIterable
-
-