FileDocCategorySizeDatePackage
DirectLongBufferRS.javaAPI DocJava SE 5 API2723Fri Aug 26 16:49:32 BST 2005java.nio

DirectLongBufferRS

public class DirectLongBufferRS extends DirectLongBufferS implements DirectBuffer

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









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

    
Methods Summary
public java.nio.LongBufferasReadOnlyBuffer()









	return duplicate();

    
public java.nio.LongBuffercompact()












	throw new ReadOnlyBufferException();

    
public java.nio.LongBufferduplicate()

	return new DirectLongBufferRS(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.LongBufferput(long x)





	throw new ReadOnlyBufferException();

    
public java.nio.LongBufferput(int i, long x)





	throw new ReadOnlyBufferException();

    
public java.nio.LongBufferput(java.nio.LongBuffer src)





































	throw new ReadOnlyBufferException();

    
public java.nio.LongBufferput(long[] src, int offset, int length)























	throw new ReadOnlyBufferException();

    
public java.nio.LongBufferslice()

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