Class ComparableValidatorBuilder<V extends Comparable,​PARENT,​SELF extends ComparableValidatorBuilder<V,​PARENT,​SELF>>

    • Constructor Detail

      • ComparableValidatorBuilder

        public ComparableValidatorBuilder​(PARENT parent)
        The constructor.
        Parameters:
        parent - the parent builder.
    • Method Detail

      • range

        public SELF range​(Range<V> range)
        Parameters:
        range - the Range to limit the value (or its size).
        Returns:
        this build instance for fluent API calls.
        See Also:
        ValidatorCollectionSize
      • range

        public SELF range​(V min,
                          V max)
        Parameters:
        min - the minimum value.
        max - the maximum value.
        Returns:
        this build instance for fluent API calls.
        See Also:
        range(Range)