public enum RelationType extends java.lang.Enum<RelationType>
Enum Constant and Description |
---|
EQ |
GE |
GT |
IS
Value on the left belongs to the class of values defined on the right.
|
IS_NOT
Value on the left does not belong to the class of values defined on the right (opposite to IS).
|
LE |
LT |
NE |
Modifier and Type | Method and Description |
---|---|
static RelationType |
equivalence(boolean equal) |
static RelationType |
fromElementType(IElementType type) |
RelationType |
getFlipped() |
RelationType |
getNegated() |
boolean |
isInequality() |
boolean |
isSubRelation(RelationType other) |
java.lang.String |
toString() |
static RelationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType LE
public static final RelationType LT
public static final RelationType GE
public static final RelationType GT
public static final RelationType EQ
public static final RelationType NE
public static final RelationType IS
public static final RelationType IS_NOT
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isSubRelation(RelationType other)
public RelationType getNegated()
public RelationType getFlipped()
public boolean isInequality()
public java.lang.String toString()
toString
in class java.lang.Enum<RelationType>
public static RelationType fromElementType(IElementType type)
public static RelationType equivalence(boolean equal)