[CSV-255] Add CSVRecord.isSet(int) method #52.

Less cryptic parameter name.
This commit is contained in:
Gary Gregory 2019-12-25 17:15:39 -05:00
parent 3a082f0698
commit b58168683d
1 changed files with 3 additions and 3 deletions

View File

@ -217,12 +217,12 @@ public final class CSVRecord implements Serializable, Iterable<String> {
/**
* Checks whether a column with given index has a value.
*
* @param i
* @param index
* a column index (0-based)
* @return whether a column with given index has a value
*/
public boolean isSet(final int i) {
return 0 <= i && i < values.length;
public boolean isSet(final int index) {
return 0 <= index && index < values.length;
}
/**