@Override
	public int getMaxLength() {
		int max = -1;
		for (String value : values) {
			int length = value.length();
			if (max < length) {
				max = length;
			}
		}
		return max;
	}
@ Override public int getMaxLength ( ) { int max = - 1 ; for ( String value : values ) { int length = value . length ( ) ; if ( max < length ) { max = length ; } } return max ; }
@return the length of the longest allowed value