import java.util.*;

public class Verifier
{
    public static final int EXAMPLE_PREAMBLE = 5;
    public static final int INVALID_NUMBER = 127;

    public Verifier (boolean debug)
    {
        _debug = debug;
    }

    public boolean verify ()
    {
        return false;
    }

    private boolean _debug;
}
@@ -38,16 +38,79 @@
 ifier%0A%7B%0A
+    public static final String EXAMPLE_INPUT = %22example.txt%22;%0A%0A
     publ
@@ -302,32 +302,552 @@
 verify ()%0A    %7B%0A
+        Vector%3CInteger%3E data = Util.loadData(EXAMPLE_INPUT, _debug);%0A        XMAS parser = new XMAS(_debug);%0A        Vector%3CInteger%3E results = parser.validate(data, EXAMPLE_PREAMBLE);%0A%0A        if (results.size() == 1)%0A        %7B%0A            if (results.elementAt(0) == INVALID_NUMBER)%0A                return true;%0A            else%0A                System.out.println(%22Wrong invalid entry: %22+results.elementAt(0));%0A        %7D%0A        else%0A            System.out.println(%22Wrong number of invalid entries: %22+results.size());%0A%0A
         return f

Update Verifier.java