FileDocCategorySizeDatePackage
DirectIntBufferRU.javaAPI DocJava SE 5 API2706Fri Aug 26 16:49:02 BST 2005java.nio

DirectIntBufferRU

public class DirectIntBufferRU extends DirectIntBufferU implements DirectBuffer

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









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

    
Methods Summary
public java.nio.IntBufferasReadOnlyBuffer()









	return duplicate();

    
public java.nio.IntBuffercompact()












	throw new ReadOnlyBufferException();

    
public java.nio.IntBufferduplicate()

	return new DirectIntBufferRU(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.IntBufferput(int x)





	throw new ReadOnlyBufferException();

    
public java.nio.IntBufferput(int i, int x)





	throw new ReadOnlyBufferException();

    
public java.nio.IntBufferput(java.nio.IntBuffer src)





































	throw new ReadOnlyBufferException();

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























	throw new ReadOnlyBufferException();

    
public java.nio.IntBufferslice()

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