Class AbstractBooleanStack
java.lang.Object
org.eclipse.collections.impl.stack.primitive.AbstractBooleanStack
- All Implemented Interfaces:
BooleanIterable,OrderedBooleanIterable,PrimitiveIterable,BooleanStack
- Direct Known Subclasses:
BooleanArrayStack
This file was automatically generated from template file abstractPrimitiveStack.stg.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()chunk(int size) booleancontains(boolean value) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) intcount(BooleanPredicate predicate) booleandetectIfNone(BooleanPredicate predicate, boolean ifNone) voideach(BooleanProcedure procedure) booleanvoidforEachWithIndex(BooleanIntProcedure procedure) booleangetFirst()inthashCode()intindexOf(boolean value) <V> VinjectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V, ? extends V> function) <T> TinjectIntoWithIndex(T injectedValue, ObjectBooleanIntToObjectFunction<? super T, ? extends T> function) makeString(String separator) makeString(String start, String separator, String end) booleannoneSatisfy(BooleanPredicate predicate) booleanpeek()peek(int count) booleanpeekAt(int index) intsize()boolean[]toArray()boolean[]toArray(boolean[] target) toBag()toList()toSet()toString()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.stack.primitive.BooleanStack
collect, collectWithIndex, reject, rejectWithIndex, select, selectWithIndex, tap, toImmutableMethods inherited from interface org.eclipse.collections.api.ordered.primitive.OrderedBooleanIterable
collectWithIndex, rejectWithIndex, selectWithIndex, toStackMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
isEmpty, notEmpty
-
Constructor Details
-
AbstractBooleanStack
public AbstractBooleanStack()
-
-
Method Details
-
peek
public boolean peek()- Specified by:
peekin interfaceBooleanStack
-
peek
- Specified by:
peekin interfaceBooleanStack
-
peekAt
public boolean peekAt(int index) - Specified by:
peekAtin interfaceBooleanStack
-
booleanIterator
- Specified by:
booleanIteratorin interfaceBooleanIterable
-
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
-
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
-
injectInto
public <V> V injectInto(V injectedValue, ObjectBooleanToObjectFunction<? super V, ? extends V> function) - Specified by:
injectIntoin interfaceBooleanIterable
-
asLazy
- Specified by:
asLazyin interfaceBooleanIterable
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
equals
- Specified by:
equalsin interfaceBooleanStack- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceBooleanStack- Overrides:
hashCodein classObject
-
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
-
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
- Specified by:
forEachWithIndexin interfaceOrderedBooleanIterable
-
chunk
- Specified by:
chunkin interfaceBooleanIterable
-