Class AbstractBooleanStack
- java.lang.Object
-
- org.eclipse.collections.impl.stack.primitive.AbstractBooleanStack
-
- All Implemented Interfaces:
BooleanIterable,OrderedBooleanIterable,PrimitiveIterable,BooleanStack
- Direct Known Subclasses:
BooleanArrayStack
public abstract class AbstractBooleanStack extends Object implements BooleanStack
This file was automatically generated from template file abstractPrimitiveStack.stg.
-
-
Constructor Summary
Constructors Constructor Description AbstractBooleanStack()
-
Method Summary
-
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, select
-
Methods inherited from interface org.eclipse.collections.api.stack.primitive.BooleanStack
collect, collectWithIndex, reject, rejectWithIndex, select, selectWithIndex, tap, toImmutable
-
Methods inherited from interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterable
collectWithIndex, rejectWithIndex, selectWithIndex
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
isEmpty, notEmpty
-
-
-
-
Method Detail
-
peek
public boolean peek()
- Specified by:
peekin interfaceBooleanStack
-
peek
public BooleanList peek(int count)
- Specified by:
peekin interfaceBooleanStack
-
peekAt
public boolean peekAt(int index)
- Specified by:
peekAtin interfaceBooleanStack
-
booleanIterator
public BooleanIterator booleanIterator()
- Specified by:
booleanIteratorin interfaceBooleanIterable
-
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
-
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
-
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
-
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 <V> V injectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V,? extends V> function)- Specified by:
injectIntoin interfaceBooleanIterable
-
asLazy
public LazyBooleanIterable asLazy()
- Specified by:
asLazyin interfaceBooleanIterable
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
equals
public boolean equals(Object otherStack)
- Specified by:
equalsin interfaceBooleanStack- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceBooleanStack- Overrides:
hashCodein classObject
-
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
-
getFirst
public boolean getFirst()
- Specified by:
getFirstin interfaceOrderedBooleanIterable
-
indexOf
public int indexOf(boolean value)
- Specified by:
indexOfin interfaceOrderedBooleanIterable
-
injectIntoWithIndex
public <T> T injectIntoWithIndex(T injectedValue, ObjectBooleanIntToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoWithIndexin interfaceOrderedBooleanIterable
-
forEachWithIndex
public void forEachWithIndex(BooleanIntProcedure procedure)
- Specified by:
forEachWithIndexin interfaceOrderedBooleanIterable
-
chunk
public RichIterable<BooleanIterable> chunk(int size)
- Specified by:
chunkin interfaceBooleanIterable
-
-