FileDocCategorySizeDatePackage
DList7.javaAPI DocExample785Sat Sep 12 03:01:00 BST 1998None

DList7

public class DList7 extends Object
Reversing, removing, filtering.
see
com.objectspace.jgl.DList
version
3.0.0
author
ObjectSpace, Inc.

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

    DList dlist = new DList();
    dlist.add( "x" );
    dlist.add( "l" );
    dlist.add( "x" );
    dlist.add( "g" );
    dlist.add( "s" );
    dlist.add( "s" );
    System.out.println( "dlist = " + dlist );

    dlist.reverse();
    System.out.println( "After dlist.reverse() = " + dlist );

    dlist.remove( "x" );
    System.out.println( "After dlist.remove( x ) = " + dlist );

    dlist.unique();
    System.out.println( "After dlist.unique() = " + dlist );