Exemplo n.º 1
0
 /**
  * Since there are no interface to put a sectionList, this method should be used to know existing
  * sections
  *
  * @return list of existing sections
  */
 public List<String> listExistingSections() {
   Set<String> returnSet = new HashSet<String>();
   for (Ticket t : ticketList) {
     returnSet.add(t.getSection());
   }
   return new ArrayList<String>(returnSet);
 }