public E current(){
  if (pos < 0 || pos >= data.size()) {
    return null;
  }
  return data.get(pos);
}

public E current ( ) { if ( pos < 0 || pos >= data . size ( ) ) { return null ; } return data . get ( pos ) ; }
return the element at the current position , if present .
