Package com.kiancross.typedtextfield
Interface Validator<T>
-
public interface Validator<T>
Interface to define a validator for a typed text field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
validate(T value)
Method which when called should check if a value is valid.
-
-
-
Method Detail
-
validate
boolean validate(T value)
Method which when called should check if a value is valid.- Parameters:
value
- The value to be checked.- Returns:
- Whether the value is valid.
-
-