FileDocCategorySizeDatePackage
FibonacciReader.javaAPI DocExample439Sun Mar 28 19:07:00 BST 1999None

FibonacciReader

public class FibonacciReader extends Thread

Fields Summary
DataInputStream
theInput
Constructors Summary
public FibonacciReader(InputStream in)

    theInput = new DataInputStream(in);
  
Methods Summary
public voidrun()


    try {
      while (true) {
        System.out.println(theInput.readInt());
      }
    }
    catch (IOException e) {
      // probably just an end of stream exception
    }