public class CharPipe extends Object
Modifier and Type | Field and Description |
---|---|
protected char[] |
buffer |
protected Lock |
bufferLock |
protected int |
count |
protected boolean |
finished |
protected Condition |
notEmpty |
protected Condition |
notFull |
protected int |
readIndex |
protected int |
writeIndex |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(boolean force) |
Reader |
getReader() |
Writer |
getWriter() |