Class CommonConstraints


  • public final class CommonConstraints
    extends java.lang.Object
    Class storing a number of very common constraints.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Detail

      • GREATER_EQUAL_MINUSONE_INT

        public static final AbstractNumberConstraint GREATER_EQUAL_MINUSONE_INT
        Integer constraint: >= -1
      • GREATER_EQUAL_ZERO_INT_LIST

        public static final ParameterConstraint<int[]> GREATER_EQUAL_ZERO_INT_LIST
        Constraint for the whole list.
      • GREATER_EQUAL_ONE_INT_LIST

        public static final ParameterConstraint<int[]> GREATER_EQUAL_ONE_INT_LIST
        List constraint: >= 1
      • GREATER_THAN_ONE_INT_LIST

        public static final ParameterConstraint<int[]> GREATER_THAN_ONE_INT_LIST
        List constraint: > 1
      • GREATER_EQUAL_ZERO_DOUBLE_LIST

        public static final ParameterConstraint<double[]> GREATER_EQUAL_ZERO_DOUBLE_LIST
        Constraint for the whole list.
      • GREATER_EQUAL_ONE_DOUBLE_LIST

        public static final ParameterConstraint<double[]> GREATER_EQUAL_ONE_DOUBLE_LIST
        List constraint: >= 1
      • GREATER_THAN_ONE_DOUBLE_LIST

        public static final ParameterConstraint<double[]> GREATER_THAN_ONE_DOUBLE_LIST
        List constraint: > 1
    • Constructor Detail

      • CommonConstraints

        private CommonConstraints()
        Utility class, do not instantiate! Constructor.