Enum QueryEvaluationUtility.Result
java.lang.Object
java.lang.Enum<QueryEvaluationUtility.Result>
org.eclipse.rdf4j.query.algebra.evaluation.util.QueryEvaluationUtility.Result
- All Implemented Interfaces:
Serializable
,Comparable<QueryEvaluationUtility.Result>
- Enclosing class:
QueryEvaluationUtility
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static QueryEvaluationUtility.Result
fromBoolean
(boolean b) boolean
orElse
(boolean alternative) Returns the enum constant of this type with the specified name.static QueryEvaluationUtility.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
_true
-
_false
-
incompatibleValueExpression
-
illegalArgument
-
-
Field Details
-
value
private final boolean value -
isIncompatible
private final boolean isIncompatible
-
-
Constructor Details
-
Result
private Result(boolean value) -
Result
private Result()
-
-
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
-
fromBoolean
-
orElse
public boolean orElse(boolean alternative)
-