it.unimi.dsi.fastutil.chars
Interface CharStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractCharList, AbstractCharStack

public interface CharStack
extends Stack

A type-specific Stack; provides some additional methods that use polymorphism to reduce type juggling.


Method Summary
 char peekChar(int i)
           
 char popChar()
           
 void push(char k)
           
 char topChar()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

public void push(char k)
See Also:
Stack.push(Object)

popChar

public char popChar()
See Also:
Stack.pop()

topChar

public char topChar()
See Also:
Stack.top()

peekChar

public char peekChar(int i)
See Also:
Stack.peek(int)