public void add(BSBMResource res) { objects.add(res); // Only if maxSize is set, automatic commit active if (maxSize > 0) { size++; if (size == maxSize) commitToSerializer(); } }
public Iterator<BSBMResource> iterator() { return objects.iterator(); }
public int size() { return objects.size(); }