boon/src/main/java/org/boon/criteria/Selector.java
public static void collectFrom(List<Selector> selectors, Collection<?> results) {

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

        collectFrom(selectors, results, fields);
    }
public static void collectFrom(List<Selector> selectors, Collection<?> results) {

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

        collectFrom(selectors, results, fields);
    }
Performs collections from the results.
@param selectors list of selectors
@param results results we are selecting from
@return map of selected items per row