public abstract class SizeBatch<T> extends AbstractBatch<T>
elements
Constructor and Description |
---|
SizeBatch(int maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(T element) |
void |
clear() |
boolean |
fits(T element) |
int |
getSize() |
boolean |
isFull() |
protected abstract int |
size(T element) |
getElements