FileDocCategorySizeDatePackage
ByteBufferAsDoubleBufferRB.javaAPI DocJava SE 5 API1947Fri Aug 26 16:50:06 BST 2005java.nio

ByteBufferAsDoubleBufferRB

public class ByteBufferAsDoubleBufferRB extends ByteBufferAsDoubleBufferB

Fields Summary
Constructors Summary
ByteBufferAsDoubleBufferRB(ByteBuffer bb)

	// package-private












	super(bb);

    
ByteBufferAsDoubleBufferRB(ByteBuffer bb, int mark, int pos, int lim, int cap, int off)






	super(bb, 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 ByteBufferAsDoubleBufferRB(bb,
						    this.markValue(),
						    this.position(),
						    this.limit(),
						    this.capacity(),
						    offset);
    
public booleanisDirect()

	return bb.isDirect();
    
public booleanisReadOnly()

	return true;
    
public java.nio.ByteOrderorder()


	return 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.DoubleBufferslice()

	int pos = this.position();
	int lim = this.limit();
	assert (pos <= lim);
	int rem = (pos <= lim ? lim - pos : 0);
	int off = (pos << 3) + offset;
        assert (off >= 0);
	return new ByteBufferAsDoubleBufferRB(bb, -1, 0, rem, rem, off);