public void push(T e){
  if (list.size() >= sizeLimit)   list.removeFirst();
  list.addLast(e);
}

public void push ( T e ) { if ( list . size ( ) >= sizeLimit ) list . removeFirst ( ) ; list . addLast ( e ) ; }
pushes an item onto the top of this stack .
