return (writerClosed || available() > 0);
return (available() > 0);
        public boolean ready() throws IOException {            synchronized (CircularCharBuffer.this){                if (readerClosed) throw new IOException("Reader has been closed, it is not ready.");                return (writerClosed || available() > 0);            }        }