I was wondering a code like this:
List list = new ArrayList(); for(CustomObject co : objects) { list.add(co.getActualText()); }