Class Validator


  • public final class Validator
    extends Object
    • Method Detail

      • makeSure

        public static <T> ValidationBuilder<T> makeSure​(T value)
        Type Parameters:
        T - the type of the value.
        Parameters:
        value - the value on which to apply the rules.
        Returns:
        a Validator to add rules to.