@Nullable public V first(){
  return vals.isEmpty() ? null : vals.getFirst();
}

@ Nullable public V first ( ) { return vals . isEmpty ( ) ? null : vals . getFirst ( ) ; }
gets first element of this list .
