public List<Double> listAnswers(QueryField queryField) {
    List<QueryQuestionNumericAnswer> listByQueryField = listByQueryField(queryField);
    List<Double> results = new ArrayList<>();
    
    for (QueryQuestionNumericAnswer answer : listByQueryField) {
      results.add(answer.getData());
    }
    
    return results;
  }
public List < Double > listAnswers ( QueryField queryField ) { List < QueryQuestionNumericAnswer > listByQueryField = listByQueryField ( queryField ) ; List < Double > results = new ArrayList < > ( ) ; for ( QueryQuestionNumericAnswer answer : listByQueryField ) { results . add ( answer . getData ( ) ) ; } return results ; }
TOOD: This is not a DAO method