gshute.util
Class IteratorTest

java.lang.Object
  |
  +--gshute.util.IteratorTest

public class IteratorTest
extends java.lang.Object

Class IteratorTest provides a main() method for testing the methods of NestedIterator, FilteredIterator, and ConvertedIterator classes.


Constructor Summary
IteratorTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main() method tests the methods of the NestedIterator, FilteredIterator, and ConvertedIterator classes.
static java.util.Set modSet(int i)
           
static void printIteratorItems(java.util.Iterator iter, java.lang.String hdr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorTest

public IteratorTest()
Method Detail

main

public static void main(java.lang.String[] args)
The main() method tests the methods of the NestedIterator, FilteredIterator, and ConvertedIterator classes. The program ignores command line arguments.

modSet

public static java.util.Set modSet(int i)

printIteratorItems

public static void printIteratorItems(java.util.Iterator iter,
                                      java.lang.String hdr)