Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyQueue<T> {//not sure if remove later
- SimpleList list;
- MyStack stack;
- public MyQueue() {
- // TODO Auto-generated method stub
- list = new SimpleList(null);
- }
- public boolean isEmpty(){return true; /*remove later*/}
- public void push(T value){}
- public void pop(){}
- public T front(){T t; t=null; return t;/*remove later*/}
- public T getAt(int index){
- T t=null;
- return t;/*remove later*/
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment