Lines Matching refs:endOfInput
36 * <li>Invoke {@link #encode(CharBuffer, ByteBuffer, boolean) encode} with the {@code endOfInput}
47 * {@code endOfInput} set to true.</li>
374 * The <code>endOfInput</code> parameter indicates if the invoker can
391 * @param endOfInput
402 public final CoderResult encode(CharBuffer in, ByteBuffer out, boolean endOfInput) {
404 // thus endOfInput should not be false
405 if (status == READY && finished && !endOfInput) {
408 if ((status == FLUSH) || (!endOfInput && status == END)) {
422 status = endOfInput ? END : ONGOING;
423 if (endOfInput) {
434 status = endOfInput ? END : ONGOING;