- All Implemented Interfaces:
Validator<Integer>
Implementation of validator for Population.
- Since:
- 2.0
- Author:
- boris
-
-
Constructor Summary
Constructors
-
Method Summary
Provides description for all validators.
boolean
Provides validation method.
-
Constructor Details
-
PopulationValidator
public PopulationValidator()
-
Method Details
-
getDescr
Provides description for all validators.
- Specified by:
getDescr
in interface Validator<Integer>
- Returns:
- String description of validator
-
validate
public boolean validate(Integer value)
Provides validation method.
- Specified by:
validate
in interface Validator<Integer>
- Parameters:
value
- value to validate
- Returns:
- true if value is validate. Otherwise false.