Methods Summary |
---|
public java.nio.IntBuffer | asReadOnlyBuffer()
return duplicate();
|
public java.nio.IntBuffer | compact()
throw new ReadOnlyBufferException();
|
public java.nio.IntBuffer | duplicate()
return new ByteBufferAsIntBufferRL(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.IntBuffer | put(int x)
throw new ReadOnlyBufferException();
|
public java.nio.IntBuffer | put(int i, int x)
throw new ReadOnlyBufferException();
|
public java.nio.IntBuffer | slice()
int pos = this.position();
int lim = this.limit();
assert (pos <= lim);
int rem = (pos <= lim ? lim - pos : 0);
int off = (pos << 2) + offset;
assert (off >= 0);
return new ByteBufferAsIntBufferRL(bb, -1, 0, rem, rem, off);
|