public interface MutableCharStack extends CharStack
Modifier and Type | Method and Description |
---|---|
MutableCharStack |
asSynchronized() |
MutableCharStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(CharToObjectFunction<? extends V> function) |
char |
pop()
Removes and returns the top element of the stack.
|
CharList |
pop(int count)
Removes and returns a CharList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(char item)
Adds an item to the top of the stack.
|
MutableCharStack |
reject(CharPredicate predicate) |
MutableCharStack |
select(CharPredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutable
allSatisfy, anySatisfy, asLazy, average, charIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void push(char item)
char pop()
CharList pop(int count)
void clear()
MutableCharStack select(CharPredicate predicate)
select
in interface CharIterable
select
in interface CharStack
MutableCharStack reject(CharPredicate predicate)
reject
in interface CharIterable
reject
in interface CharStack
<V> MutableStack<V> collect(CharToObjectFunction<? extends V> function)
collect
in interface CharIterable
collect
in interface CharStack
MutableCharStack asUnmodifiable()
MutableCharStack asSynchronized()
Copyright © 2004–2016. All rights reserved.