public enum Comparison extends java.lang.Enum<Comparison>
| Enum Constant and Description |
|---|
EQUAL |
GREATER_THAN |
LESS_THAN |
| Modifier and Type | Method and Description |
|---|---|
static Comparison |
fromString(java.lang.String name) |
java.lang.String |
getName() |
static Comparison |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison LESS_THAN
public static final Comparison GREATER_THAN
public static final Comparison EQUAL
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static Comparison fromString(java.lang.String name)
Copyright © 2010-2012. All Rights Reserved.