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

Deque4

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

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

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