biz.onixs.fix.fast.util
Class FixedStack<E>
java.lang.Object
biz.onixs.fix.fast.util.FixedStack<E>
- All Implemented Interfaces:
- Stack<E>
public class FixedStack<E>
- extends Object
- implements Stack<E>
FixedStack
public FixedStack(int capacity)
push
public void push(E item)
- Specified by:
push
in interface Stack<E>
pop
public E pop()
- Specified by:
pop
in interface Stack<E>
peek
public E peek()
- Specified by:
peek
in interface Stack<E>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Stack<E>
isFull
public boolean isFull()
- Specified by:
isFull
in interface Stack<E>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2012 Onix Solutions. All Rights Reserved.