FileDocCategorySizeDatePackage
DList8.javaAPI DocExample737Sat Sep 12 03:01:00 BST 1998None

DList8

public class DList8 extends Object
Splicing a DList into another.
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( "apple" );
    dlist.add( "banana" );
    dlist.add( "lotus" );
    dlist.add( "ferrari" );
    dlist.add( "lamborghini" );
    System.out.println( "dlist = " + dlist );

    try
      {
      dlist.splice( dlist.begin(), dlist, dlist.begin(), dlist.end() );
      }
    catch ( InvalidOperationException ioe )
      {
      System.out.println( "Caught: " + ioe );
      }