예제 #1
0
 @Override
 protected Object getValue(Object element) {
   CatRateLinkEntity entity = (CatRateLinkEntity) element;
   return rates.indexOf(entity.getRate());
 }
예제 #2
0
 @Override
 public String getText(Object o) {
   CatRateLinkEntity entity = (CatRateLinkEntity) o;
   return entity.getRate().getName();
 }