FileDocCategorySizeDatePackage
Array6.javaAPI DocExample914Sat Sep 12 03:01:00 BST 1998None

Array6

public class Array6 extends Object
Removal.
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( "Texas" );
    array.add( "Alabama" );
    array.add( "Texas" );
    array.add( "Mississippi" );
    array.add( "Texas" );
    array.add( "Louisiana" );
    array.add( "Texas" );
    array.add( "Alabama" );
    array.add( "Texas" );
    System.out.println( array );

    System.out.println( "removed " + array.remove( "Texas", 4 ) );
    System.out.println( array );

    System.out.println( "removed " + array.remove( "Alabama", 4 ) );
    System.out.println( array );

    System.out.println( "removed " + array.remove( "Georgia", 4 ) );
    System.out.println( array );