public static enum DefaultAssociationRule.METRIC_TYPE extends java.lang.Enum<DefaultAssociationRule.METRIC_TYPE>
Enum Constant and Description |
---|
CONFIDENCE |
CONVICTION |
LEVERAGE |
LIFT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
java.lang.String |
toStringMetric(int premiseSupport,
int consequenceSupport,
int totalSupport,
int totalTransactions) |
java.lang.String |
toXML(int premiseSupport,
int consequenceSupport,
int totalSupport,
int totalTransactions) |
static DefaultAssociationRule.METRIC_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultAssociationRule.METRIC_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultAssociationRule.METRIC_TYPE CONFIDENCE
public static final DefaultAssociationRule.METRIC_TYPE LIFT
public static final DefaultAssociationRule.METRIC_TYPE LEVERAGE
public static final DefaultAssociationRule.METRIC_TYPE CONVICTION
public static DefaultAssociationRule.METRIC_TYPE[] values()
for (DefaultAssociationRule.METRIC_TYPE c : DefaultAssociationRule.METRIC_TYPE.values()) System.out.println(c);
public static DefaultAssociationRule.METRIC_TYPE 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 toString()
toString
in class java.lang.Enum<DefaultAssociationRule.METRIC_TYPE>
public java.lang.String toStringMetric(int premiseSupport, int consequenceSupport, int totalSupport, int totalTransactions)
public java.lang.String toXML(int premiseSupport, int consequenceSupport, int totalSupport, int totalTransactions)