Skip to content

Commit

Permalink
remove getters
Browse files Browse the repository at this point in the history
  • Loading branch information
osiegmar committed Oct 22, 2023
1 parent a9b6152 commit f4d71fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Iterative reading of some CSV data with a header

```java
NamedCsvReader.builder().build("header 1,header 2\nfield 1,field 2")
.forEach(csvRecord -> System.out.println(csvRecord.getField("header 2")));
.forEach(csvRecord -> System.out.println(csvRecord.field("header 2")));
```

For more examples see [NamedCsvReaderExample.java](example/src/main/java/example/NamedCsvReaderExample.java)
Expand Down

0 comments on commit f4d71fb

Please sign in to comment.