@@ -0,0 +1,2207 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0A%0Apackage com.mycompany.testproject.iterativeTests;%0A%0Aimport fi.lolcatz.profiledata.ProfileData;%0Aimport fi.lolcatz.profiler.Benchmarkable;%0Aimport fi.lolcatz.profiler.Util;%0Aimport java.lang.reflect.Method;%0Aimport java.util.logging.Level;%0Aimport java.util.logging.Logger;%0A%0Apublic class StringImpl implements Benchmarkable%3CString%3E %7B%0A%0A    private String className;%0A    private String methodName;%0A    %0A    @Override%0A    public String getInput(int size) %7B%0A        String s = %22%22;%0A        StringBuilder b = new StringBuilder(s);%0A        if (size %3E 26) %7B%0A            int jj = size %25 26;%0A            int loops = size / 26;%0A            for (int i = 0; i %3C loops; i++) %7B%0A                for (int j = 0; j %3C 26; j++) %7B%0A                    b.append((char) (j + 97));%0A                %7D%0A            %7D%0A            for (int k = 0; k %3C jj; k++) %7B%0A                b.append((char) (k + 97));%0A            %7D%0A        %7D else %7B%0A            for (int i = 0; i %3C size; i++) %7B%0A                b.append((char) (i + 97));%0A            %7D%0A        %7D%0A        return b.toString();%0A    %7D%0A%0A    @Override%0A    public int getMaxTime(String input, int size) %7B%0A        throw new UnsupportedOperationException(%22Not supported yet.%22);%0A    %7D%0A%0A    @Override%0A    public void setMethodName(String name) %7B%0A        this.methodName = name;%0A    %7D%0A%0A    @Override%0A    public void setClassName(String name) %7B%0A        this.className = name;%0A    %7D%0A    %0A    public String getClassName()%7B%0A        return className;%0A    %7D%0A    %0A    public String getMethodName()%7B%0A        return methodName;%0A    %7D%0A    %0A    @Override%0A    public long run(String input) %7B%0A    ProfileData.resetCounters();%0A        try %7B%0A            Class%3C?%3E c = Class.forName(className);%0A            Method m = c.getMethod(methodName, String.class);%0A            m.invoke(input, null);%0A        %7D catch (Exception x) %7B%0A            Logger.getLogger(IntegerImpl.class.getName()).log(Level.SEVERE, null, x);%0A        %7D%0A        return Util.getTotalCost();%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        StringImpl impl = new StringImpl();%0A        %0A        System.out.println(impl.getInput(5));%0A    %7D%0A%0A%7D%0A

Add impl for Strings