public abstract class SizeBatch<T> extends AbstractBatch<T>
elements
SizeBatch(int maxSize)
void
add(T element)
clear()
boolean
fits(T element)
int
getSize()
isFull()
protected abstract int
size(T element)
getElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SizeBatch(int maxSize)
protected abstract int size(T element)
public void clear()
public boolean fits(T element)
public void add(T element)
public int getSize()
public boolean isFull()