T - public class XThreadBuffer<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abandoned |
protected java.util.List<T> |
buffer |
protected boolean |
complete |
protected static int |
MAX_SIZE |
| Constructor and Description |
|---|
XThreadBuffer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
abandon() |
void |
add(T t) |
T |
fetch() |
void |
signalDone() |
protected static int MAX_SIZE
protected java.util.List<T> buffer
protected boolean complete
protected boolean abandoned