@Override public E peek() throws Exception { // TODO Auto-generated method stub if (list.size() > 0) { return list.getFirst(); } return null; }
@Override public int size() { // TODO Auto-generated method stub return list.size(); }