FileDocCategorySizeDatePackage
Algorithms7.javaAPI DocExample696Sat Sep 12 03:01:00 BST 1998None

Algorithms7

public class Algorithms7 extends Object
Reversing provides algorithms for changing the order of a sequence.
see
com.objectspace.jgl.algorithms.Reversing
version
3.0.0
author
ObjectSpace, Inc.

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

    Deque deque = new Deque();
    deque.add( "Batman" );
    deque.add( "Superman" );
    deque.add( "Phantom" );
    deque.add( "Spider-Man" );
    System.out.println( "before reverse = " + deque );
    Reversing.reverse( deque );
    System.out.println( "after reverse = " + deque );