FileDocCategorySizeDatePackage
DirectDoubleBufferRS.javaAPI DocJava SE 5 API2757Fri Aug 26 16:49:40 BST 2005java.nio

DirectDoubleBufferRS

public class DirectDoubleBufferRS extends DirectDoubleBufferS implements DirectBuffer

Fields Summary
Constructors Summary
DirectDoubleBufferRS(DirectBuffer db, int mark, int pos, int lim, int cap, int off)









	super(db, mark, pos, lim, cap, off);

    
Methods Summary
public java.nio.DoubleBufferasReadOnlyBuffer()









	return duplicate();

    
public java.nio.DoubleBuffercompact()












	throw new ReadOnlyBufferException();

    
public java.nio.DoubleBufferduplicate()

	return new DirectDoubleBufferRS(this,
					      this.markValue(),
					      this.position(),
					      this.limit(),
					      this.capacity(),
					      0);
    
public booleanisDirect()

	return true;
    
public booleanisReadOnly()

	return true;
    
public java.nio.ByteOrderorder()


	return ((ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
		? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN);





    
public java.nio.DoubleBufferput(double x)





	throw new ReadOnlyBufferException();

    
public java.nio.DoubleBufferput(int i, double x)





	throw new ReadOnlyBufferException();

    
public java.nio.DoubleBufferput(java.nio.DoubleBuffer src)





































	throw new ReadOnlyBufferException();

    
public java.nio.DoubleBufferput(double[] src, int offset, int length)























	throw new ReadOnlyBufferException();

    
public java.nio.DoubleBufferslice()

	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);