/** Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.*********************/// -- This file was mechanically generated: Do not edit! -- //package java.nio;import jdk.internal.misc.Unsafe;class ByteBufferAsIntBufferRB // package-privateextends ByteBufferAsIntBufferB{ByteBufferAsIntBufferRB(ByteBuffer bb) { // package-privatesuper(bb);}ByteBufferAsIntBufferRB(ByteBuffer bb,int mark, int pos, int lim, int cap,long addr){super(bb, mark, pos, lim, cap, addr);}@OverrideObject base() {return bb.hb;}public IntBuffer slice() {int pos = this.position();int lim = this.limit();assert (pos <= lim);int rem = (pos <= lim ? lim - pos : 0);long addr = byteOffset(pos);return new ByteBufferAsIntBufferRB(bb, -1, 0, rem, rem, addr);}public IntBuffer duplicate() {return new ByteBufferAsIntBufferRB(bb,this.markValue(),this.position(),this.limit(),this.capacity(),address);}public IntBuffer asReadOnlyBuffer() {return duplicate();}public IntBuffer put(int x) {throw new ReadOnlyBufferException();}public IntBuffer put(int i, int x) {throw new ReadOnlyBufferException();}public IntBuffer compact() {throw new ReadOnlyBufferException();}public boolean isDirect() {return bb.isDirect();}public boolean isReadOnly() {return true;}public ByteOrder order() {return ByteOrder.BIG_ENDIAN;}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。