Пример #1
0
 public T toValue(String clientValue) {
   for (T object : list) {
     if (clientValue.equals(propertyAdapter.get(object).toString())) {
       return object;
     }
   }
   return null;
 }
Пример #2
0
 public String toClient(T value) {
   return propertyAdapter.get(value).toString();
 }