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