Package megamek.client.ui.util.verifier
Class VerifyIsInteger
java.lang.Object
megamek.client.ui.util.verifier.VerifyIsInteger
- All Implemented Interfaces:
DataVerifier
- Since:
- 10/3/14
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VerifyIsInteger
public VerifyIsInteger()
-
-
Method Details
-
verify
Description copied from interface:DataVerifierPerforms a verification of the given value. If the value is good, a null is returned. Otherwise, aStringexplaining how the verification failed will be returned.- Specified by:
verifyin interfaceDataVerifier- Parameters:
value- The value to be evaluated.- Returns:
- NULL if the value is good, otherwise a description of how the evaluation failed.
-
verify
-