Enum Class DialecticalTree.Mark

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

public static enum DialecticalTree.Mark extends Enum<DialecticalTree.Mark>
Enumeration representing the status of an entity in terms of defeat or victory.
Author:
Matthias Thimm
  • Enum Constant Details

    • DEFEATED

      public static final DialecticalTree.Mark DEFEATED
      Represents the state of being defeated.
    • UNDEFEATED

      public static final DialecticalTree.Mark UNDEFEATED
      Represents the state of being undefeated.
  • Method Details

    • values

      public static DialecticalTree.Mark[] 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 DialecticalTree.Mark 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
    • toString

      public String toString()
      Returns a single-character string representation of the Mark.

      This method returns the first character of the name of the enum constant. For example, it returns "D" for DEFEATED and "U" for UNDEFEATED.

      Overrides:
      toString in class Enum<DialecticalTree.Mark>
      Returns:
      A string containing the first character of the enum constant's name.