Class VerifyIsPositiveInteger

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

public class VerifyIsPositiveInteger extends Object implements DataVerifier
Since:
3/14/14 3:44 PM
  • Constructor Details

    • VerifyIsPositiveInteger

      public VerifyIsPositiveInteger()
  • 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(Integer value)
    • verify

      public String verify(String value)