FileDocCategorySizeDatePackage
SList4.javaAPI DocExample728Sat Sep 12 03:01:00 BST 1998None

SList4

public class SList4 extends Object
Exceptions.
see
com.objectspace.jgl.SList
version
3.0.0
author
ObjectSpace, Inc.

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

    SList list = new SList();
    try
      {
      list.popBack();
      }
    catch ( InvalidOperationException exception )
      {
      System.out.println( "Caught " + exception );
      }
    list.add( "ape" );
    list.add( "bat" );
    list.add( "cat" );
    try
      {
      list.at( 5 );
      }
    catch ( IndexOutOfBoundsException exception )
      {
      System.out.println( "Caught " + exception );
      }