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