Enum Atom.RETURN_SET_PREDICATE
java.lang.Object
java.lang.Enum<Atom.RETURN_SET_PREDICATE>
org.tweetyproject.logics.commons.syntax.interfaces.Atom.RETURN_SET_PREDICATE
- All Implemented Interfaces:
Serializable
,Comparable<Atom.RETURN_SET_PREDICATE>
,Constable
- Enclosing interface:
Atom
An enum containing the different return values of the
setPredicate() method of Atom.
- Author:
- Tim Janus
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the operation was cleared, and no results were returned.Indicates that the operation was incomplete and did not return the full set of results.Indicates that the operation completed successfully and returned a complete set of results.Indicates that the operation was truncated, meaning that only a partial set of results was returned. -
Method Summary
Modifier and TypeMethodDescriptionstatic Atom.RETURN_SET_PREDICATE
Returns the enum constant of this type with the specified name.static Atom.RETURN_SET_PREDICATE[]
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, toString, valueOf
-
Enum Constant Details
-
RSP_SUCCESS
Indicates that the operation completed successfully and returned a complete set of results. -
RSP_INCOMPLETE
Indicates that the operation was incomplete and did not return the full set of results. -
RSP_TRUNCATED
Indicates that the operation was truncated, meaning that only a partial set of results was returned. -
RSP_CLEARED
Indicates that the operation was cleared, and no results were returned.
-
-
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
-