import java.util.*;

public class Verifier
{
    public static final int EXAMPLE_INT1 = 1721;
    public static final int EXAMPLE_INT2 = 299;

    public static final Integer[] EXAMPLE_FIGURES = { 1721, 979, 366, 299, 675, 1456 };

    public Verifier (boolean debug)
    {
        _figures = new Vector<Integer>();
        _totaliser = new Total(_figures);
        _debug = debug;

        _figures.copyInto(EXAMPLE_FIGURES);
    }

    public boolean verify ()
    {
        return false;
    }

    private Vector<Integer> _figures;
    private Total _totaliser;
    private boolean _debug;
}
@@ -136,16 +136,67 @@
 = 299;%0A%0A
+    public static final int EXAMPLE_TOTAL = 2020;%0A%0A
     publ
@@ -297,16 +297,27 @@
 rifier (
+int total, 
 boolean 
@@ -516,32 +516,224 @@
 verify ()%0A    %7B%0A
+        Integer%5B%5D results = _totaliser.sum(EXAMPLE_TOTAL);%0A%0A        if (results != null)%0A        %7B%0A            if (results.length == 2)%0A            %7B%0A                %0A            %7D%0A        %7D%0A%0A
         return f

Update Verifier.java