Documentation of 'jhplot.math.exp4j.ValidationResult' Java class.
ValidationResult
jhplot.math.exp4j

Class ValidationResult



  • public class ValidationResult
    extends java.lang.Object
    Contains the validation result for a given Expression
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static ValidationResult SUCCESS
      A static class representing a successful validation result
    • Constructor Summary

      Constructors 
      Constructor and Description
      ValidationResult(boolean valid, java.util.List<java.lang.String> errors)
      Create a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getErrors()
      Get the list of errors describing the issues while validating the expression
      boolean isValid()
      Check if an expression has been validated successfully
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SUCCESS

        public static final ValidationResult SUCCESS
        A static class representing a successful validation result
    • Constructor Detail

      • ValidationResult

        public ValidationResult(boolean valid,
                                java.util.List<java.lang.String> errors)
        Create a new instance
        Parameters:
        valid - Whether the validation of the expression was successful
        errors - The list of errors returned if the validation was unsuccessful
    • Method Detail

      • isValid

        public boolean isValid()
        Check if an expression has been validated successfully
        Returns:
        true if the validation was successful, false otherwise
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Get the list of errors describing the issues while validating the expression
        Returns:
        The List of errors

DMelt 3.0 © DataMelt by jWork.ORG