Package java.io
Class CharArrayReader
Description:
This method checks whether this stream is ready to be read or not.
Example
       char[] ch = {'H','e','l','l','o'};
       CharArrayReader car = new CharArrayReader(ch);
       if (car.ready())
          Logger.log("The stream is ready to be read!");
   
The ready method checks if the stream can be read.