FileDocCategorySizeDatePackage
Queue2.javaAPI DocExample567Sat Sep 12 03:01:00 BST 1998None

Queue2

public class Queue2 extends Object
Use of List as underlying Sequence.
see
com.objectspace.jgl.Queue
version
3.0.0
author
ObjectSpace, Inc.

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

    // Use a DList as the underlying data structure.
    Queue queue = new Queue( new DList() );
    queue.push( "bat" );
    queue.push( "cat" );
    queue.push( "dog" );

    System.out.println( "Print the queue." );
    System.out.println( queue );