Methods Summary |
---|
public java.nio.IntBuffer | asReadOnlyBuffer()
return duplicate();
|
public java.nio.IntBuffer | compact()
throw new ReadOnlyBufferException();
|
public java.nio.IntBuffer | duplicate()
return new DirectIntBufferRU(this,
this.markValue(),
this.position(),
this.limit(),
this.capacity(),
0);
|
public boolean | isDirect()
return true;
|
public boolean | isReadOnly()
return true;
|
public java.nio.ByteOrder | order()
return ((ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN)
? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_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 | put(java.nio.IntBuffer src)
throw new ReadOnlyBufferException();
|
public java.nio.IntBuffer | put(int[] src, int offset, int length)
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);
assert (off >= 0);
return new DirectIntBufferRU(this, -1, 0, rem, rem, off);
|