public interface CharStack extends Stack<Character>
Stack
; provides some additional methods that use polymorphism to avoid (un)boxing.void push(char k)
Stack.push(Object)
char popChar()
Stack.pop()
char topChar()
Stack.top()
char peekChar(int i)
Stack.peek(int)