Enum ContradictionAcceptanceCondition
java.lang.Object
java.lang.Enum<ContradictionAcceptanceCondition>
org.tweetyproject.arg.adf.syntax.acc.ContradictionAcceptanceCondition
- All Implemented Interfaces:
Serializable
,Comparable<ContradictionAcceptanceCondition>
,Constable
,AcceptanceCondition
public enum ContradictionAcceptanceCondition
extends Enum<ContradictionAcceptanceCondition>
implements AcceptanceCondition
ContradictionAcceptanceCondition enum
- Author:
- Sebastian
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceCondition
AcceptanceCondition.Builder
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface org.tweetyproject.arg.adf.syntax.acc.AcceptanceCondition
CONTRADICTION, TAUTOLOGY
-
Method Summary
Modifier and TypeMethodDescription<U,
D> U Passes the topDownData to the right visit method and returns the result of the visit method, performs no modifications on them.boolean
Checks if the given argument is contained in this acceptance condition.toString()
Returns the enum constant of this type with the specified name.static ContradictionAcceptanceCondition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
INSTANCE
Instance
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
arguments
- Specified by:
arguments
in interfaceAcceptanceCondition
- Returns:
- recursively computes all the arguments of this acceptance condition
-
contains
Description copied from interface:AcceptanceCondition
Checks if the given argument is contained in this acceptance condition.Note that this relation is reflexive, hence each argument contains itself.
- Specified by:
contains
in interfaceAcceptanceCondition
- Parameters:
arg
- some argument- Returns:
- true if the argument is contained
-
accept
Description copied from interface:AcceptanceCondition
Passes the topDownData to the right visit method and returns the result of the visit method, performs no modifications on them.This allows for type-safe traversal through the acceptance condition structure.
- Specified by:
accept
in interfaceAcceptanceCondition
- Type Parameters:
U
- the bottom-up dataD
- the top-down data- Parameters:
visitor
- the visitortopDownData
- the data which is passed from the root of the acceptance condition to the leaf- Returns:
- the result of the visit method
-
getChildren
- Specified by:
getChildren
in interfaceAcceptanceCondition
- Returns:
- an unmodifiable set of children
-
toString
- Overrides:
toString
in classEnum<ContradictionAcceptanceCondition>
-