예제 #1
0
  public void adjustSave() {

    resultB.setIdexec(resultB.getId());
    resultB.setResulttest(resultB.getResulttest());
    resultB.setComment(resultB.getComment());
    resultB.setIdtest(resultB.getIdtest());
  }
예제 #2
0
 public List<Result> autoComplete(String query) {
   List<Result> suggestions = new ArrayList<Result>();
   for (Result c : results) {
     if (String.valueOf(c.getId()).toLowerCase().startsWith(query.toLowerCase())) {
       suggestions.add(c);
     }
   }
   return suggestions;
 }