Exemplo n.º 1
0
 @Override
 public T getDetachedValue(T value) {
   if (!initialized) {
     throw new IllegalStateException("Cannot call getDetachedValue on an uninitialized PType");
   }
   return deepCopier.deepCopy(value);
 }
Exemplo n.º 2
0
 @Override
 public void initialize(Configuration conf) {
   deepCopier.initialize(conf);
   initialized = true;
 }