Skip to content

Commit 78785a9

Browse files
committed
Javadoc
1 parent f1d8966 commit 78785a9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public final class CSVRecord implements Serializable, Iterable<String> {
7878
}
7979

8080
/**
81-
* Returns a value by {@link Enum}.
81+
* Gets a value by {@link Enum}.
8282
*
8383
* @param e
8484
* an enum
@@ -89,7 +89,7 @@ public String get(final Enum<?> e) {
8989
}
9090

9191
/**
92-
* Returns a value by index.
92+
* Gets a value by index.
9393
*
9494
* @param i
9595
* a column index (0-based)
@@ -100,7 +100,7 @@ public String get(final int i) {
100100
}
101101

102102
/**
103-
* Returns a value by name. If multiple instances of the header name exists, only the last occurrence is returned.
103+
* Gets a value by name. If multiple instances of the header name exists, only the last occurrence is returned.
104104
*
105105
* <p>
106106
* Note: This requires a field mapping obtained from the original parser.
@@ -141,7 +141,7 @@ public String get(final String name) {
141141
}
142142

143143
/**
144-
* Returns the starting position of this record in the source stream, measured in bytes.
144+
* Gets the starting position of this record in the source stream, measured in bytes.
145145
*
146146
* @return The byte position of this record in the source stream.
147147
* @since 1.13.0
@@ -151,7 +151,7 @@ public long getBytePosition() {
151151
}
152152

153153
/**
154-
* Returns the start position of this record as a character position in the source stream. This may or may not
154+
* Gets the start position of this record as a character position in the source stream. This may or may not
155155
* correspond to the byte position depending on the character set.
156156
*
157157
* @return The position of this record in the source stream.
@@ -161,7 +161,7 @@ public long getCharacterPosition() {
161161
}
162162

163163
/**
164-
* Returns the comment for this record, if any.
164+
* Gets the comment for this record, if any.
165165
* Note that comments are attached to the following record.
166166
* If there is no following record (that is, the comment is at EOF),
167167
* then the comment will be ignored.
@@ -177,7 +177,7 @@ private Map<String, Integer> getHeaderMapRaw() {
177177
}
178178

179179
/**
180-
* Returns the parser.
180+
* Gets the parser.
181181
*
182182
* <p>
183183
* Note: The parser is not part of the serialized state of the record. A null check
@@ -192,7 +192,7 @@ public CSVParser getParser() {
192192
}
193193

194194
/**
195-
* Returns the number of this record in the parsed CSV file.
195+
* Gets the number of this record in the parsed CSV file.
196196
*
197197
* <p>
198198
* <strong>NOTE:</strong>If your CSV input has multi-line values, the returned number does not correspond to

0 commit comments

Comments
 (0)