static MultiSet nuLike distinctCIFieldValuesOfConcepts_multiSet(Class c, S field) { ret distinctCIFieldValuesOfConcepts_multiSet(db_mainConcepts(), c, field); } static MultiSet distinctCIFieldValuesOfConcepts_multiSet(Concepts concepts, Class c, S field) { // indexed IFieldIndex index = concepts.getCIFieldIndex(c, field); if (index != null) ret index.allValues_multiSet(); // table scan MultiSet set = ciMultiSet(); for (A x : concepts.list(c)) set.add((S) getOpt(x, field)); ret set; }