Methods Summary |
---|
public java.nio.LongBuffer | asReadOnlyBuffer()
return duplicate();
|
public java.nio.LongBuffer | compact()
throw new ReadOnlyBufferException();
|
public java.nio.LongBuffer | duplicate()
return new ByteBufferAsLongBufferRL(bb,
this.markValue(),
this.position(),
this.limit(),
this.capacity(),
offset);
|
public boolean | isDirect()
return bb.isDirect();
|
public boolean | isReadOnly()
return true;
|
public java.nio.ByteOrder | order()
return ByteOrder.LITTLE_ENDIAN;
|
public java.nio.LongBuffer | put(long x)
throw new ReadOnlyBufferException();
|
public java.nio.LongBuffer | put(int i, long x)
throw new ReadOnlyBufferException();
|
public java.nio.LongBuffer | slice()
int pos = this.position();
int lim = this.limit();
assert (pos <= lim);
int rem = (pos <= lim ? lim - pos : 0);
int off = (pos << 3) + offset;
assert (off >= 0);
return new ByteBufferAsLongBufferRL(bb, -1, 0, rem, rem, off);
|