001package headfirst.adapter.iterenum;
002
003import java.util.Arrays;
004import java.util.Iterator;
005import java.util.Vector;
006
007@SuppressWarnings("rawtypes")
008public class EnumerationIteratorTestDrive {
009        public static void main (String args[]) {
010                Vector<String> v = new Vector<String>(Arrays.asList(args));
011                Iterator iterator = new EnumerationIterator(v.elements());
012                while (iterator.hasNext()) {
013                        System.out.println(iterator.next());
014                }
015        }
016}