Constructor and Description |
---|
Buffer(int maxNumberOfObjects) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
int |
getSize() |
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
void |
remove() |
void |
returnObject(T object) |
void |
setInvalid() |
void |
write(T object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public void returnObject(T object)
public int getSize()
public void setInvalid()
public void complete() throws IOException
IOException
public void write(T object)