org.jutil.java.collections
Class FifoList

java.lang.Object
  |
  +--org.jutil.java.collections.FifoList
All Implemented Interfaces:
Fifo
Direct Known Subclasses:
BlockingFifoList, SynchronizedFifoList

public class FifoList
extends java.lang.Object
implements Fifo

FifoList is a class of objects that represent simple first-in first-out lists .

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

Constructor Summary
FifoList()
          public behavior

post size() == 0;
Initialize a new empty FifoList.
 
Method Summary
 void clear()
          See superclass/
 boolean isEmpty()
          See superclass.
 java.lang.Object pop()
          See superclass.
 void push(java.lang.Object object)
          See superclass.
 int size()
          See superclass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FifoList

public FifoList()
public behavior

post size() == 0;
Initialize a new empty FifoList.
Method Detail

push

public void push(java.lang.Object object)
See superclass.
Specified by:
push in interface Fifo
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.
Specified by:
pop in interface Fifo

clear

public void clear()
See superclass/
Specified by:
clear in interface Fifo

size

public int size()
See superclass.
Specified by:
size in interface Fifo

isEmpty

public boolean isEmpty()
See superclass.
Specified by:
isEmpty in interface Fifo