public CharBuffer duplicate() {ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());CharToByteBufferAdapter buf = new CharToByteBufferAdapter(bb);buf.limit = limit;buf.position = position;buf.mark = mark;return buf;}

public CharBuffer duplicate ( ) { ByteBuffer bb = byteBuffer . duplicate ( ) . order ( byteBuffer . order ( ) ) ; CharToByteBufferAdapter buf = new CharToByteBufferAdapter ( bb ) ; buf . limit = limit ; buf . position = position ; buf . mark = mark ; return buf ; }
public override java.nio.CharBuffer duplicate(){java.nio.ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());java.nio.CharToByteBufferAdapter buf = new java.nio.CharToByteBufferAdapter(bb);buf._limit = _limit;buf._position = _position;buf._mark = _mark;return buf;}
