java.nio.Buffer.java源码中有如下代码:static void checkBounds(int off, int len, int size) { if ((off | len | (off + len) | (size - (off + len))) < ...
java.nio.Buffer.java源码中有如下代码:
static void checkBounds(int off, int len, int size) { if ((off | len | (off + len) | (size - (off + len))) < 0) throw new IndexOutOfBoundsException();}
原标题:按位或运算的一种应用方式
关键词:
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。