FileDocCategorySizeDatePackage
Array3.javaAPI DocExample784Sat Sep 12 03:01:00 BST 1998None

Array3

public class Array3 extends Object
Insertion.
see
com.objectspace.jgl.Array
version
3.0.0
author
ObjectSpace, Inc.

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

    Array array = new Array();
    array.add( "bat" );
    array.add( "cat" );
    array.add( "dog" );
    System.out.println( "array = " + array );
    System.out.println();

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

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

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