Class ValidatorCharSequnceSize

All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>, Validator<CharSequence>, Iterable<Validator<?>>

public class ValidatorCharSequnceSize extends AbstractValidatorSize<CharSequence>
Validator validating that the length of a given CharSequence is within a predefined Range.
Since:
1.0.0
  • Constructor Details

    • ValidatorCharSequnceSize

      public ValidatorCharSequnceSize(io.github.mmm.base.range.Range<Integer> range)
      The constructor.
      Parameters:
      range - is the Range the value has to be contained in.
    • ValidatorCharSequnceSize

      public ValidatorCharSequnceSize(int maxLength)
      The constructor.
      Parameters:
      maxLength - the maximum size allowed for the Collection values.
  • Method Details