cache.add(row);
}
}
void addToCache(Collection rows) {
DataCache cache = factory.getCache();
if (cache != null) {
Iterator i = rows.iterator();
while (i.hasNext()) {
Row row = (Row) i.next();
// Don't need to clone anymore...cached flag instead
//cache.add((Row) row.clone());
cache.add(row);
}
}
}