Class VerifyNotNull

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

public class VerifyNotNull extends Object implements DataVerifier
Since:
3/14/14 1:19 PM
  • Constructor Details

    • VerifyNotNull

      public VerifyNotNull()
  • 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.