public void addValue(T value){
  list.addFirst(value);
  total+=Double.valueOf(value.toString());
  trim();
}

public void addValue ( T value ) { list . addFirst ( value ) ; total += Double . valueOf ( value . toString ( ) ) ; trim ( ) ; }
add a value to the averager
