org.jutil.java.collections
Class SynchronizedFifoList

java.lang.Object
  |
  +--org.jutil.java.collections.FifoList
        |
        +--org.jutil.java.collections.SynchronizedFifoList
All Implemented Interfaces:
Fifo

public class SynchronizedFifoList
extends FifoList

Synchronized version of a FifoList.

Version:
$Revision: 1.3 $
Author:
Tom Schrijvers, Marko van Dooren

Constructor Summary
SynchronizedFifoList()
           
 
Method Summary
 void clear()
          See superclass/
 java.lang.Object pop()
          See superclass.
 void push(java.lang.Object obj)
          See superclass.
 int size()
          See superclass.
 
Methods inherited from class org.jutil.java.collections.FifoList
isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizedFifoList

public SynchronizedFifoList()
Method Detail

push

public void push(java.lang.Object obj)
See superclass.
Overrides:
push in class FifoList
Following copied from interface: org.jutil.java.collections.Fifo
Parameters:
object - The object to be put in the fifo.

pop

public java.lang.Object pop()
See superclass.
Overrides:
pop in class FifoList

clear

public void clear()
See superclass/
Overrides:
clear in class FifoList

size

public int size()
See superclass.
Overrides:
size in class FifoList