FileDocCategorySizeDatePackage
FibonacciDriver.javaAPI DocExample391Sat Feb 04 09:01:20 GMT 2006None

FibonacciDriver

public class FibonacciDriver extends Object

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

    PipedOutputStream pout = new PipedOutputStream();
    PipedInputStream pin = new PipedInputStream(pout);

    FibonacciProducer fw = new FibonacciProducer(pout, 20);
    FibonacciConsumer fr = new FibonacciConsumer(pin);
    fw.start();
    fr.start();