Class VerifyIsInteger

java.lang.Object
megamek.client.ui.util.verifier.VerifyIsInteger
All Implemented Interfaces:
DataVerifier

public class VerifyIsInteger extends Object implements DataVerifier
Since:
10/3/14
  • Constructor Details

    • VerifyIsInteger

      public VerifyIsInteger()
  • Method Details

    • verify

      public String verify(Object value)
      Description copied from interface: DataVerifier
      Performs a verification of the given value. If the value is good, a null is returned. Otherwise, a String explaining how the verification failed will be returned.
      Specified by:
      verify in interface DataVerifier
      Parameters:
      value - The value to be evaluated.
      Returns:
      NULL if the value is good, otherwise a description of how the evaluation failed.
    • verify

      public String verify(String value)