public class Range extends Object implements LengthOption
Modifier and Type | Method and Description |
---|---|
Object[] |
getMessageParameters() |
String |
getParametrizedMessage() |
static Range |
of(int min,
int max) |
boolean |
validate(String fieldValue) |
public static Range of(int min, int max)
public boolean validate(String fieldValue)
validate
in interface LengthOption
public String getParametrizedMessage()
getParametrizedMessage
in interface LengthOption
public Object[] getMessageParameters()
getMessageParameters
in interface LengthOption
Copyright © 2019 JavaLite. All rights reserved.