equal
deleted
inserted
replaced
260 * |
260 * |
261 * @param n The number of characters to skip |
261 * @param n The number of characters to skip |
262 * |
262 * |
263 * @return The number of characters actually skipped |
263 * @return The number of characters actually skipped |
264 * |
264 * |
265 * @throws IllegalArgumentException If <code>n</code> is negative. |
265 * @throws IllegalArgumentException If {@code n} is negative. |
266 * @throws IOException If an I/O error occurs |
266 * @throws IOException If an I/O error occurs |
267 */ |
267 */ |
268 public long skip(long n) throws IOException { |
268 public long skip(long n) throws IOException { |
269 if (n < 0L) |
269 if (n < 0L) |
270 throw new IllegalArgumentException("skip value is negative"); |
270 throw new IllegalArgumentException("skip value is negative"); |