| Constructor and Description |
|---|
Buffer(int maxNumberOfObjects)
|
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
|
int |
getSize()
|
boolean |
hasNext()
|
Iterator |
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, waitforEach, spliteratorforEachRemainingpublic void returnObject(T object)
public int getSize()
public void setInvalid()
public void complete()
throws IOException
IOException
public void write(T object)
public boolean hasNext()
public T next()
public void remove()