Package org.yamcs.xtce
Enum OperatorType
- java.lang.Object
-
- java.lang.Enum<OperatorType>
-
- org.yamcs.xtce.OperatorType
-
- All Implemented Interfaces:
Serializable,Comparable<OperatorType>
public enum OperatorType extends Enum<OperatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALITYINEQUALITYLARGEROREQUALTHANLARGERTHANSMALLEROREQUALTHANSMALLERTHAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperatorTypefromSymbol(String symbol)StringgetSymbol()StringtoString()static OperatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OperatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final OperatorType EQUALITY
-
INEQUALITY
public static final OperatorType INEQUALITY
-
LARGERTHAN
public static final OperatorType LARGERTHAN
-
LARGEROREQUALTHAN
public static final OperatorType LARGEROREQUALTHAN
-
SMALLERTHAN
public static final OperatorType SMALLERTHAN
-
SMALLEROREQUALTHAN
public static final OperatorType SMALLEROREQUALTHAN
-
-
Method Detail
-
values
public static OperatorType[] 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 (OperatorType c : OperatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperatorType 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
-
fromSymbol
public static OperatorType fromSymbol(String symbol)
-
getSymbol
public String getSymbol()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperatorType>
-
-