示例#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();
 }