< prev index next >

src/java.base/share/classes/java/nio/X-Buffer.java.template

Print this page
8202397: Typo in X-Buffer javadoc
Reviewed-by: psandoz

*** 698,708 **** * <code>src.get(dst,&nbsp;off,&nbsp;len)</code> has exactly the same effect as * the loop * * <pre>{@code * for (int i = off; i < off + len; i++) ! * dst[i] = src.get(): * }</pre> * * except that it first checks that there are sufficient $type$s in * this buffer and it is potentially much more efficient. * --- 698,708 ---- * <code>src.get(dst,&nbsp;off,&nbsp;len)</code> has exactly the same effect as * the loop * * <pre>{@code * for (int i = off; i < off + len; i++) ! * dst[i] = src.get(); * }</pre> * * except that it first checks that there are sufficient $type$s in * this buffer and it is potentially much more efficient. *
< prev index next >