public DoubleBuffer slice() {byteBuffer.limit(limit * SizeOf.DOUBLE);byteBuffer.position(position * SizeOf.DOUBLE);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());DoubleBuffer result = new DoubleToByteBufferAdapter(bb);byteBuffer.clear();return result;}
public override java.nio.DoubleBuffer slice(){byteBuffer.limit(_limit * libcore.io.SizeOf.DOUBLE);byteBuffer.position(_position * libcore.io.SizeOf.DOUBLE);java.nio.ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());java.nio.DoubleBuffer result = new java.nio.DoubleToByteBufferAdapter(bb);byteBuffer.clear();return result;}