Interface LengthConstraint.Builder

  • Method Details

    • min

      The shortest length allowed.

      Parameters:
      min - The shortest length allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • max

      The longest length allowed.

      Parameters:
      max - The longest length allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tested

      The value's length.

      Parameters:
      tested - The value's length.
      Returns:
      Returns a reference to this object so that method calls can be chained together.