com.splunk
Enum NumberComparison

java.lang.Object
  extended by java.lang.Enum<NumberComparison>
      extended by com.splunk.NumberComparison
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NumberComparison>

public enum NumberComparison
extends java.lang.Enum<NumberComparison>

Comparison operators on numeric fields.


Enum Constant Summary
AT_LEAST
           
AT_MOST
           
EQUALS
           
GREATHER_THAN
           
IS_NOT_NULL
           
IS_NULL
           
LESS_THAN
           
NOT_EQUALS
           
 
Method Summary
static NumberComparison valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NumberComparison[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

EQUALS

public static final NumberComparison EQUALS

NOT_EQUALS

public static final NumberComparison NOT_EQUALS

LESS_THAN

public static final NumberComparison LESS_THAN

AT_MOST

public static final NumberComparison AT_MOST

GREATHER_THAN

public static final NumberComparison GREATHER_THAN

AT_LEAST

public static final NumberComparison AT_LEAST

IS_NULL

public static final NumberComparison IS_NULL

IS_NOT_NULL

public static final NumberComparison IS_NOT_NULL
Method Detail

values

public static NumberComparison[] 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 (NumberComparison c : NumberComparison.values())
    System.out.println(c);

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

valueOf

public static NumberComparison 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