public interface MutableBooleanStack extends BooleanStack
Modifier and Type | Method and Description |
---|---|
MutableBooleanStack |
asSynchronized() |
MutableBooleanStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(BooleanToObjectFunction<? extends V> function) |
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) |
MutableBooleanStack |
select(BooleanPredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutable
allSatisfy, anySatisfy, asLazy, booleanIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, noneSatisfy, toArray, toBag, toList, toSet
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void push(boolean item)
boolean pop()
BooleanList pop(int count)
void clear()
MutableBooleanStack select(BooleanPredicate predicate)
select
in interface BooleanIterable
select
in interface BooleanStack
MutableBooleanStack reject(BooleanPredicate predicate)
reject
in interface BooleanIterable
reject
in interface BooleanStack
<V> MutableStack<V> collect(BooleanToObjectFunction<? extends V> function)
collect
in interface BooleanIterable
collect
in interface BooleanStack
MutableBooleanStack asUnmodifiable()
MutableBooleanStack asSynchronized()
Copyright © 2004–2016. All rights reserved.