BooleanIterable, BooleanStack, OrderedBooleanIterable, PrimitiveIterableBooleanArrayStack, SynchronizedBooleanStack, UnmodifiableBooleanStackpublic interface MutableBooleanStack extends BooleanStack
| Modifier and Type | Method | Description | 
|---|---|---|
| MutableBooleanStack | asSynchronized() | |
| MutableBooleanStack | asUnmodifiable() | |
| void | clear() | Clears the Stack | 
| <V> MutableStack<V> | collect(BooleanToObjectFunction<? extends V> function) | Returns a new collection with the results of applying the specified function on each element of the source
 collection. | 
| default <V> MutableStack<V> | collectWithIndex(BooleanIntToObjectFunction<? extends V> function) | Returns a new MutableStack using results obtained by applying the specified function to each element
 and its corresponding index. | 
| default MutableBooleanStack | newEmpty() | Creates a new empty mutable version of the same stack type. | 
| boolean | pop() | Removes and returns the top element of the stack. | 
| BooleanList | pop(int count) | Removes and returns a BooleanList of the number of elements specified by the count, beginning with the top of the stack. | 
| void | push(boolean item) | Adds an item to the top of the stack. | 
| MutableBooleanStack | reject(BooleanPredicate predicate) | Returns a new BooleanIterable with all of the elements in the BooleanIterable that
 return false for the specified predicate. | 
| MutableBooleanStack | select(BooleanPredicate predicate) | Returns a new BooleanIterable with all of the elements in the BooleanIterable that
 return true for the specified predicate. | 
| default MutableBooleanStack | tap(BooleanProcedure procedure) | 
allSatisfy, anySatisfy, asLazy, booleanIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSetequals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndexappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid push(boolean item)
boolean pop()
BooleanList pop(int count)
void clear()
MutableBooleanStack select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableselect in interface BooleanStackselect in interface OrderedBooleanIterableMutableBooleanStack reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterablereject in interface BooleanStackreject in interface OrderedBooleanIterabledefault MutableBooleanStack tap(BooleanProcedure procedure)
tap in interface BooleanIterabletap in interface BooleanStack<V> MutableStack<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterablecollect in interface BooleanStackcollect in interface OrderedBooleanIterabledefault <V> MutableStack<V> collectWithIndex(BooleanIntToObjectFunction<? extends V> function)
collectWithIndex in interface BooleanStackcollectWithIndex in interface OrderedBooleanIterableMutableBooleanStack asUnmodifiable()
MutableBooleanStack asSynchronized()
default MutableBooleanStack newEmpty()
Copyright © 2004–2020. All rights reserved.