if (hasNewItems()) {
if (super.size() == 0)
return new OLazyRecordIterator(new HashSet<OIdentifiable>(newEntries.keySet()), iAutoConvertToRecord);
// MIX PERSISTENT AND NEW TOGETHER
return new OLazyRecordMultiIterator(null, new Object[] { keySet(), new HashSet<OIdentifiable>(newEntries.keySet()) },
iAutoConvertToRecord);
}
return new OLazyRecordIterator(keySet().iterator(), iAutoConvertToRecord);
}