public enum Comparison extends Enum<Comparison>
| Enum Constant and Description |
|---|
CONTAINS |
ENDS_WITH |
EQ
Equal
|
GT
Greater than
|
GTE
Greater than or equal
|
LT
Lower than
|
LTE
Lower than or equals
|
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
String |
getSparqlOperator()
Getter for the SPARQL comparison operator
|
static Comparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison EQ
public static final Comparison GTE
public static final Comparison GT
public static final Comparison LT
public static final Comparison LTE
public static final Comparison CONTAINS
public static final Comparison STARTS_WITH
public static final Comparison ENDS_WITH
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getSparqlOperator()
Copyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.