|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ArithTypeEnum>
net.esper.type.ArithTypeEnum
public enum ArithTypeEnum
Enumeration for the type of arithmatic to use.
Nested Class Summary | |
---|---|
static class |
ArithTypeEnum.AddDouble
Computer for type-specific arith. |
static class |
ArithTypeEnum.AddFloat
Computer for type-specific arith. |
static class |
ArithTypeEnum.AddInt
Computer for type-specific arith. |
static class |
ArithTypeEnum.AddLong
Computer for type-specific arith. |
static interface |
ArithTypeEnum.Computer
Interface for number cruncher. |
static class |
ArithTypeEnum.DivideDouble
Computer for type-specific arith. |
static class |
ArithTypeEnum.DivideFloat
Computer for type-specific arith. |
static class |
ArithTypeEnum.DivideInt
Computer for type-specific arith. |
static class |
ArithTypeEnum.DivideLong
Computer for type-specific arith. |
static class |
ArithTypeEnum.ModuloDouble
Computer for type-specific arith. |
static class |
ArithTypeEnum.ModuloFloat
Computer for type-specific arith. |
static class |
ArithTypeEnum.ModuloInt
Computer for type-specific arith. |
static class |
ArithTypeEnum.ModuloLong
Computer for type-specific arith. |
static class |
ArithTypeEnum.MultiplyDouble
Computer for type-specific arith. |
static class |
ArithTypeEnum.MultiplyFloat
Computer for type-specific arith. |
static class |
ArithTypeEnum.MultiplyInt
Computer for type-specific arith. |
static class |
ArithTypeEnum.MultiplyLong
Computer for type-specific arith. |
static class |
ArithTypeEnum.SubtractDouble
Computer for type-specific arith. |
static class |
ArithTypeEnum.SubtractFloat
Computer for type-specific arith. |
static class |
ArithTypeEnum.SubtractInt
Computer for type-specific arith. |
static class |
ArithTypeEnum.SubtractLong
Computer for type-specific arith. |
Enum Constant Summary | |
---|---|
ADD
Plus. |
|
DIVIDE
Divide. |
|
MODULO
Modulo. |
|
MULTIPLY
Multiply. |
|
SUBTRACT
Minus. |
Method Summary | |
---|---|
ArithTypeEnum.Computer |
getComputer(Class coercedType)
Returns number cruncher for the target coercion type. |
String |
getExpressionText()
Returns string representation of enum. |
static ArithTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ArithTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArithTypeEnum ADD
public static final ArithTypeEnum SUBTRACT
public static final ArithTypeEnum DIVIDE
public static final ArithTypeEnum MULTIPLY
public static final ArithTypeEnum MODULO
Method Detail |
---|
public static final ArithTypeEnum[] values()
for(ArithTypeEnum c : ArithTypeEnum.values()) System.out.println(c);
public static ArithTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic ArithTypeEnum.Computer getComputer(Class coercedType)
coercedType
- - target type
public String getExpressionText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |