* @return all objects currently in the cache and unexpired
*/
public NSArray<T> allObjects(EOEditingContext ec, EOQualifier additionalQualifier) {
additionalQualifier = ERXEOControlUtilities.localInstancesInQualifier(ec, additionalQualifier);
ERXExpiringCache<Object, EORecord<T>> cache = cache();
NSArray allKeys = cache.allKeys();
NSMutableArray allObjects = new NSMutableArray(allKeys.count());
for (Object entryKey : allKeys) {
T object = objectForKey(ec, entryKey, false);
if (object != null && (additionalQualifier == null || additionalQualifier.evaluateWithObject(object))) {
allObjects.addObject(object);