dataStructures
Class FormulaBasedLinearListIterator

java.lang.Object
  |
  +--dataStructures.FormulaBasedLinearListIterator

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


Constructor Summary
FormulaBasedLinearListIterator(FormulaBasedLinearList theList)
           
 
Method Summary
 boolean hasMoreElements()
           
static void main(java.lang.String[] args)
          test program
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaBasedLinearListIterator

public FormulaBasedLinearListIterator(FormulaBasedLinearList theList)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
true iff list has more elements

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration
Returns:
next element in list
Throws:
ArrayIndexOutOfBoundsException - thrown if there is no next element

main

public static void main(java.lang.String[] args)
test program