package innovimax.mixthem.operation;

import innovimax.mixthem.arguments.Mode;
import innovimax.mixthem.arguments.RuleParam;
import innovimax.mixthem.arguments.ParamValue;

import java.util.Map;

public class CopyFactory {
  
    public static ICopy newInstance(final Mode mode, final Rule rule, final Map<RuleParam, ParamValue> params) {
        return mode == Mode.CHAR ? new DefaultCharCopy(rule, params) : new DefaultByteCopy(rule, params);
    }    
    
}

@@ -72,16 +72,57 @@
 s.Mode;%0A
+import innovimax.mixthem.arguments.Rule;%0A
 import i
@@ -283,16 +283,25 @@
 ic ICopy
+Operation
  newInst

Update CopyFactory.java