Package org.sonar.java.se.symbolicvalues
Enum RelationalSymbolicValue.Kind
- java.lang.Object
-
- java.lang.Enum<RelationalSymbolicValue.Kind>
-
- org.sonar.java.se.symbolicvalues.RelationalSymbolicValue.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationalSymbolicValue.Kind>
- Enclosing class:
- RelationalSymbolicValue
public static enum RelationalSymbolicValue.Kind extends Enum<RelationalSymbolicValue.Kind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
GREATER_THAN_OR_EQUAL
LESS_THAN
METHOD_EQUALS
NOT_EQUAL
NOT_METHOD_EQUALS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelationalSymbolicValue.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationalSymbolicValue.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final RelationalSymbolicValue.Kind EQUAL
-
NOT_EQUAL
public static final RelationalSymbolicValue.Kind NOT_EQUAL
-
GREATER_THAN_OR_EQUAL
public static final RelationalSymbolicValue.Kind GREATER_THAN_OR_EQUAL
-
LESS_THAN
public static final RelationalSymbolicValue.Kind LESS_THAN
-
METHOD_EQUALS
public static final RelationalSymbolicValue.Kind METHOD_EQUALS
-
NOT_METHOD_EQUALS
public static final RelationalSymbolicValue.Kind NOT_METHOD_EQUALS
-
-
Method Detail
-
values
public static RelationalSymbolicValue.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelationalSymbolicValue.Kind c : RelationalSymbolicValue.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationalSymbolicValue.Kind valueOf(String name)
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
-
-