Lines Matching defs:offset
104 * Writes {@code count} characters starting at {@code offset} in {@code buf}
109 * @param offset
114 * if {@code offset < 0} or {@code count < 0}, or if {@code
115 * offset + count} is greater than the size of {@code buf}.
118 public void write(char[] chars, int offset, int count) {
119 Arrays.checkOffsetAndCount(chars.length, offset, count);
123 buf.append(chars, offset, count);
152 * offset} to this writer's {@code StringBuffer}.
156 * @param offset
161 * if {@code offset < 0} or {@code count < 0}, or if {@code
162 * offset + count} is greater than the length of {@code str}.
165 public void write(String str, int offset, int count) {
166 String sub = str.substring(offset, offset + count);