Methods Summary |
---|
public java.nio.FloatBuffer | asReadOnlyBuffer()
return duplicate();
|
public java.nio.FloatBuffer | compact()
throw new ReadOnlyBufferException();
|
public java.nio.FloatBuffer | duplicate()
return new ByteBufferAsFloatBufferRL(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.FloatBuffer | put(float x)
throw new ReadOnlyBufferException();
|
public java.nio.FloatBuffer | put(int i, float x)
throw new ReadOnlyBufferException();
|
public java.nio.FloatBuffer | 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 ByteBufferAsFloatBufferRL(bb, -1, 0, rem, rem, off);
|