FileDocCategorySizeDatePackage
DirectFloatBufferRS.javaAPI DocJava SE 5 API2740Fri Aug 26 16:49:36 BST 2005java.nio

DirectFloatBufferRS

public class DirectFloatBufferRS extends DirectFloatBufferS implements DirectBuffer

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









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

    
Methods Summary
public java.nio.FloatBufferasReadOnlyBuffer()









	return duplicate();

    
public java.nio.FloatBuffercompact()












	throw new ReadOnlyBufferException();

    
public java.nio.FloatBufferduplicate()

	return new DirectFloatBufferRS(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.FloatBufferput(float x)





	throw new ReadOnlyBufferException();

    
public java.nio.FloatBufferput(int i, float x)





	throw new ReadOnlyBufferException();

    
public java.nio.FloatBufferput(java.nio.FloatBuffer src)





































	throw new ReadOnlyBufferException();

    
public java.nio.FloatBufferput(float[] src, int offset, int length)























	throw new ReadOnlyBufferException();

    
public java.nio.FloatBufferslice()

	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 DirectFloatBufferRS(this, -1, 0, rem, rem, off);