@Beta public enum ComparisonOperator extends Enum<ComparisonOperator>
Enum Constant and Description |
---|
GREATER_THAN_OR_EQUAL_TO_THRESHOLD |
GREATER_THAN_THRESHOLD |
LESS_THAN_OR_EQUAL_TO_THRESHOLD |
LESS_THAN_THRESHOLD |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static ComparisonOperator |
fromValue(String value) |
String |
toString() |
String |
value() |
static ComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOperator GREATER_THAN_OR_EQUAL_TO_THRESHOLD
public static final ComparisonOperator GREATER_THAN_THRESHOLD
public static final ComparisonOperator LESS_THAN_THRESHOLD
public static final ComparisonOperator LESS_THAN_OR_EQUAL_TO_THRESHOLD
public static final ComparisonOperator UNRECOGNIZED
public static ComparisonOperator[] values()
for (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
public static ComparisonOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<ComparisonOperator>
public static ComparisonOperator fromValue(String value)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.