public synchronized boolean remove(Object element){
  return historyList.remove(element);
}

public synchronized boolean remove ( Object element ) { return historyList . remove ( element ) ; }
remove element from history .
