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

    return null;
  }
 @Override
 public void empty() {
   // TODO Auto-generated method stub
   while (list.getFirst() != null) list.removeFirst();
 }