Enum Class ComparisonCriterion.Result

java.lang.Object
java.lang.Enum<ComparisonCriterion.Result>
org.tweetyproject.arg.delp.semantics.ComparisonCriterion.Result
All Implemented Interfaces:
Serializable, Comparable<ComparisonCriterion.Result>, Constable
Enclosing class:
ComparisonCriterion

public static enum ComparisonCriterion.Result extends Enum<ComparisonCriterion.Result>
Enumeration representing the possible results of a comparison between two items.
Author:
Matthias Thimm
  • Enum Constant Details

    • IS_BETTER

      public static final ComparisonCriterion.Result IS_BETTER
      Indicates that the first item is better than the second item.
    • NOT_COMPARABLE

      public static final ComparisonCriterion.Result NOT_COMPARABLE
      Indicates that the two items cannot be compared due to lack of a common basis or criterion.
    • IS_WORSE

      public static final ComparisonCriterion.Result IS_WORSE
      Indicates that the first item is worse than the second item.
    • IS_EQUAL

      public static final ComparisonCriterion.Result IS_EQUAL
      Indicates that the two items are equal in terms of the comparison criterion.
  • Method Details

    • values

      public static ComparisonCriterion.Result[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ComparisonCriterion.Result valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null