private CSVData(List<CSVRecord> records){
  this.records=Objects.requireNonNull(records);
}

private CSVData ( List < CSVRecord > records ) { this . records = Objects . requireNonNull ( records ) ; }
creates a new instance with the given records .
