@Override public <V> V convert(Class<V> datatype, Object value) { Preconditions.checkNotNull(datatype); Preconditions.checkNotNull(value); AttributeSerializer handler = getSerializer(datatype); if (handler!=null) return (V)handler.convert(value); else return null; }
@Override public <V> V convert(Class<V> datatype, Object value) { Preconditions.checkNotNull(datatype); Preconditions.checkNotNull(value); AttributeSerializer handler = getSerializer(datatype); if (handler!=null) return (V)handler.convert(value); else return null; }