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 ByteBufferWithInfodequeue()

        return (ByteBufferWithInfo)list.removeFirst();
    
public voidenqueue(ByteBufferWithInfo item)

    
       
    
        list.addLast(item);
    
public voidpush(ByteBufferWithInfo item)

        list.addFirst(item);
    
public intsize()

        return list.size();