示例#1
0
 /** {@inheritDoc} */
 @Override
 public T encode(final S toEncode) {
   if (toEncode == null) {
     return null;
   }
   return delegateCodec.encode(toEncode);
 }
示例#2
0
 /** {@inheritDoc} */
 @Override
 public S decode(final T encoded) {
   if (encoded == null) {
     return null;
   }
   return delegateCodec.decode(encoded);
 }