FileDocCategorySizeDatePackage
Array5.javaAPI DocExample734Sat Sep 12 03:01:00 BST 1998None

Array5

public class Array5 extends Object
Exceptions.
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();
    try
      {
      array.popBack();
      }
    catch ( InvalidOperationException exception )
      {
      System.out.println( "Caught " + exception );
      }
    array.add( "ape" );
    array.add( "bat" );
    array.add( "cat" );
    try
      {
      array.at( 5 );
      }
    catch ( IndexOutOfBoundsException exception )
      {
      System.out.println( "Caught " + exception );
      }