FileDocCategorySizeDatePackage
BufferQueue.javaAPI DocJava SE 5 API992Fri Aug 26 14:54:20 BST 2005com.sun.corba.se.impl.encoding

BufferQueue

public class BufferQueue extends Object
Simple unsynchronized queue implementation for ByteBufferWithInfos.

Fields Summary
private LinkedList
list
Constructors Summary
Methods Summary
public com.sun.corba.se.impl.encoding.ByteBufferWithInfodequeue()

        return (ByteBufferWithInfo)list.removeFirst();
    
public voidenqueue(com.sun.corba.se.impl.encoding.ByteBufferWithInfo item)

    
       
    
        list.addLast(item);
    
public voidpush(com.sun.corba.se.impl.encoding.ByteBufferWithInfo item)

        list.addFirst(item);
    
public intsize()

        return list.size();