FileDocCategorySizeDatePackage
SimpleCollection.javaAPI DocExample2749Mon Apr 06 18:10:26 BST 1998c08.newcollections

SimpleCollection

public class SimpleCollection extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Collection c = new ArrayList();
    for(int i = 0; i < 10; i++)
      c.add(Integer.toString(i));
    Iterator it = c.iterator();
    while(it.hasNext())
      System.out.println(it.next());