A validator that checks if the length of a value is equal to a specified length.
The length parameter specifies the desired length that the value should have.
final int length;