com.xml_project.morganaxdm
Enum XS_Numeric.Operations
java.lang.Object
java.lang.Enum<XS_Numeric.Operations>
com.xml_project.morganaxdm.XS_Numeric.Operations
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<XS_Numeric.Operations>
- Enclosing class:
- XS_Numeric
public static enum XS_Numeric.Operations
- extends java.lang.Enum<XS_Numeric.Operations>
An enumeration of the operation for numeric values.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Add
public static final XS_Numeric.Operations Add
Sub
public static final XS_Numeric.Operations Sub
Times
public static final XS_Numeric.Operations Times
Div
public static final XS_Numeric.Operations Div
iDiv
public static final XS_Numeric.Operations iDiv
Mod
public static final XS_Numeric.Operations Mod
Neg
public static final XS_Numeric.Operations Neg
values
public static XS_Numeric.Operations[] 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 (XS_Numeric.Operations c : XS_Numeric.Operations.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XS_Numeric.Operations valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null