Code example for Comparator

Methods: compare

0
    } 
     
    @SuppressWarnings("unchecked") 
    @Override 
    public int compare(TableRow o1, TableRow o2) {
      return comp.compare((T) o1.get(index), (T) o2.get(index));
    } 
  } 
}