question: @ Override public int read ( ) throws IOException { synchronized ( lock ) { if ( isOpen ( ) ) { if ( pos != count ) { return str . charAt ( pos ++ ) ; } return - 1 ; } throw new IOException ( "StringReader is closed" ) ; } }
target:  Reads a single character from this StringReader and returns the result as an int. The 2 higher-order bytes are set to 0. If the end of reader was encountered then return -1.