com.espertech.esper.type
Enum MinMaxTypeEnum

java.lang.Object
  extended by java.lang.Enum<MinMaxTypeEnum>
      extended by com.espertech.esper.type.MinMaxTypeEnum
All Implemented Interfaces:
Serializable, Comparable<MinMaxTypeEnum>

public enum MinMaxTypeEnum
extends Enum<MinMaxTypeEnum>

Enumeration for the type of arithmatic to use.


Enum Constant Summary
MAX
          Max.
MIN
          Min.
 
Method Summary
 String getExpressionText()
          Returns textual representation of enum.
static MinMaxTypeEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MinMaxTypeEnum[] 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

MAX

public static final MinMaxTypeEnum MAX
Max.


MIN

public static final MinMaxTypeEnum MIN
Min.

Method Detail

values

public static final MinMaxTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MinMaxTypeEnum c : MinMaxTypeEnum.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MinMaxTypeEnum 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 name

getExpressionText

public String getExpressionText()
Returns textual representation of enum.

Returns:
text for enum

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com