public static enum Relation.Operator extends Enum<Relation.Operator>
| Enum Constant and Description |
|---|
EQUAL_TO |
GREATER_THAN |
GREATER_THAN_OR_EQUAL_TO |
LESS_THAN |
LESS_THAN_OR_EQUAL_TO |
NOT_EQUAL_TO |
STRICT_EQUAL_TO |
STRICT_NOT_EQUAL_TO |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompatibleForSameOperands(Relation.Operator other) |
Relation.Operator |
not() |
Relation.Operator |
onReversedOperands() |
String |
operatorString() |
static Relation.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relation.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relation.Operator EQUAL_TO
public static final Relation.Operator NOT_EQUAL_TO
public static final Relation.Operator STRICT_EQUAL_TO
public static final Relation.Operator STRICT_NOT_EQUAL_TO
public static final Relation.Operator LESS_THAN
public static final Relation.Operator GREATER_THAN
public static final Relation.Operator LESS_THAN_OR_EQUAL_TO
public static final Relation.Operator GREATER_THAN_OR_EQUAL_TO
public static Relation.Operator[] values()
for (Relation.Operator c : Relation.Operator.values()) System.out.println(c);
public static Relation.Operator 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 boolean isCompatibleForSameOperands(Relation.Operator other)
public Relation.Operator onReversedOperands()
public Relation.Operator not()
public String operatorString()
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.