// Evaluating in-memory so build up list of candidates
List candidates = null;
if (candidateCollection != null) {
candidates = new ArrayList(candidateCollection);
} else {
Extent ext = getStoreManager().getExtent(ec, candidateClass, subclasses);
candidates = new ArrayList();
Iterator iter = ext.iterator();
while (iter.hasNext()) {
candidates.add(iter.next());
}
}