boon/src/main/java/org/boon/criteria/Selector.java
public static <ITEM> List<Map<String, Object>> selectFrom(List<Selector> selectors, Collection<ITEM> results) {

        if (results.size() == 0) {
            return Collections.EMPTY_LIST;
        }
        Map<String, FieldAccess> fields =  BeanUtils.getFieldsFromObject(results.iterator().next());

        return selectFrom(selectors, results, fields);
    }
public static <ITEM> List<Map<String, Object>> selectFrom(List<Selector> selectors, Collection<ITEM> results) {

        if (results.size() == 0) {
            return Collections.EMPTY_LIST;
        }
        Map<String, FieldAccess> fields =  BeanUtils.getFieldsFromObject(results.iterator().next());

        return selectFrom(selectors, results, fields);
    }
Performs the actual selection from the results.
@param selectors list of selectors
@param results results we are selecting from
@param <ITEM> List of items
@return map of selected items per row