FileDocCategorySizeDatePackage
Functions5.javaAPI DocExample603Sat Sep 12 03:01:00 BST 1998None

Functions5

public class Functions5 extends Object

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

    Deque deque = new Deque();
    deque.add( new Integer( 4 ) );
    deque.add( new Integer( -2 ) );
    deque.add( new Integer( 3 ) );
    UnaryFunction function = new NegateNumber();
    System.out.println( "before = " + deque );
    Transforming.transform( deque, deque.begin(), function );
    System.out.println( "after = " + deque );