it.unimi.dsi.fastutil.booleans
Interface BooleanStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractBooleanList, AbstractBooleanStack

public interface BooleanStack
extends Stack

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


Method Summary
 boolean peekBoolean(int i)
           
 boolean popBoolean()
           
 void push(boolean k)
           
 boolean topBoolean()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

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

popBoolean

public boolean popBoolean()
See Also:
Stack.pop()

topBoolean

public boolean topBoolean()
See Also:
Stack.top()

peekBoolean

public boolean peekBoolean(int i)
See Also:
Stack.peek(int)