Methods Summary |
---|
public java.nio.DoubleBuffer | asReadOnlyBuffer()
return duplicate();
|
public java.nio.DoubleBuffer | compact()
throw new ReadOnlyBufferException();
|
public java.nio.DoubleBuffer | duplicate()
return new DirectDoubleBufferRS(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.DoubleBuffer | put(double x)
throw new ReadOnlyBufferException();
|
public java.nio.DoubleBuffer | put(int i, double x)
throw new ReadOnlyBufferException();
|
public java.nio.DoubleBuffer | put(java.nio.DoubleBuffer src)
throw new ReadOnlyBufferException();
|
public java.nio.DoubleBuffer | put(double[] src, int offset, int length)
throw new ReadOnlyBufferException();
|
public java.nio.DoubleBuffer | slice()
int pos = this.position();
int lim = this.limit();
assert (pos <= lim);
int rem = (pos <= lim ? lim - pos : 0);
int off = (pos << 3);
assert (off >= 0);
return new DirectDoubleBufferRS(this, -1, 0, rem, rem, off);
|