FileDocCategorySizeDatePackage
Sequences3.javaAPI DocExample621Sat Sep 12 03:01:00 BST 1998None

Sequences3

public class Sequences3 extends Object

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

    DList list = new DList();
    list.add( "bat" );
    list.add( "cat" );
    list.add( "dog" );
    System.out.println( "list = " + list );

    list.insert( 0, "ape" );
    System.out.println( "After insert at begin = " + list );

    list.insert( list.size(), "emu" );
    System.out.println( "After insert at end = " + list );

    list.insert( 3, 2, "fox" );
    System.out.println( "After list.insert( 3, 2, fox ) = " + list );