org.jscience.architecture.traffic.util
Class ListEnumeration

java.lang.Object
  extended by org.jscience.architecture.traffic.util.ListEnumeration
All Implemented Interfaces:
java.util.Enumeration

public class ListEnumeration
extends java.lang.Object
implements java.util.Enumeration

This class is an Enumeration which works on objects that implement java.util.List


Constructor Summary
ListEnumeration(java.util.List list)
          Make a new ListEnumeration
 
Method Summary
 boolean hasMoreElements()
          DOCUMENT ME!
 java.lang.Object nextElement()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListEnumeration

public ListEnumeration(java.util.List list)
Make a new ListEnumeration

Parameters:
list - The list to use
Method Detail

hasMoreElements

public boolean hasMoreElements()
DOCUMENT ME!

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
DOCUMENT ME!

nextElement

public java.lang.Object nextElement()
DOCUMENT ME!

Specified by:
nextElement in interface java.util.Enumeration
Returns:
DOCUMENT ME!