Class NumberSource

java.lang.Object
  |
  +--NumberSource

public class NumberSource
extends java.lang.Object

A NumberSource is an object that returns successive integers parsed from an InputStream. It ignores everything else in the stream.


Constructor Summary
NumberSource(java.io.InputStream in)
           
 
Method Summary
 int next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberSource

public NumberSource(java.io.InputStream in)
Method Detail

next

public int next()
         throws java.io.IOException