package me.xdrop.ensurej.checks;

public class CheckObject {
}

@@ -31,33 +31,759 @@
 s;%0A%0A
-public class CheckObject %7B
+import me.xdrop.ensurej.Predicate;%0A%0Apublic class CheckObject %7B%0A%0A    public static Predicate%3CObject%3E isNull()%7B%0A        return new Predicate%3CObject%3E() %7B%0A            @Override%0A            public boolean eval(Object in) %7B%0A                return in == null;%0A            %7D%0A        %7D;%0A    %7D%0A%0A    public static Predicate%3CObject%3E isNotNull()%7B%0A        return new Predicate%3CObject%3E() %7B%0A            @Override%0A            public boolean eval(Object in) %7B%0A                return in != null;%0A            %7D%0A        %7D;%0A    %7D%0A%0A    public static Predicate%3CObject%3E equal(final Object other)%7B%0A        return new Predicate%3CObject%3E() %7B%0A            @Override%0A            public boolean eval(Object in) %7B%0A                return in.equals(other);%0A            %7D%0A        %7D;%0A    %7D%0A
 %0A%7D%0A

Add Object checks