question: public int available ( ) throws IOException { ensureOpen ( ) ; if ( reachEOF ) { return 0 ; } else { return 1 ; } }
target:  Returns 0 after EOF has been reached, otherwise always return 1. <p> Programs should not count on this method to return the actual number of bytes that could be read without blocking.