javax.datamining
Class Enum

java.lang.Object
  |
  +--javax.datamining.Enum
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
ActivationFunction, AggregationFunction, AssociationCapability, AttributeComparisonFunction, AttributeDataType, AttributeImportanceCapability, AttributeStatisticsSetCapability, AttributeType, BooleanOperator, BuildTaskCapability, CategoryProperty, ClassificationApplyCapability, ClassificationApplyContent, ClassificationCapability, ClassificationTestMetricOption, ClusteringApplyCapability, ClusteringApplyContent, ClusteringCapability, ClusteringDistanceFunction, ClusteringModelProperty, ComparisonOperator, ComputeStatisticsTaskCapability, ConnectionCapability, DataPreparationStatus, ExecutionState, FeedForwardNeuralNetCapability, ImportExportFormat, IntervalClosure, KernelFunction, KMeansCapability, LogicalAttributeCapability, LogicalAttributeUsage, MiningAlgorithm, MiningFunction, MiningTask, NaiveBayesCapability, NamedObject, OutlierTreatment, PersistenceOption, PhysicalAttributeCapability, PhysicalAttributeRole, PhysicalDataSetCapability, PredictionType, RegressionApplyContent, RegressionCapability, ReportType, RuleComponentOption, RuleProperty, RuleTranslationFormat, SettingsInclusionOption, SizeUnit, SortOrder, SVMClassificationCapability, SVMRegressionCapability, TaxonomyCapability, TestTaskCapability, TreeCapability, TreeHomogeneityMetric, TreeSelectionMethod

public abstract class Enum
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

This abstract class is used to implement enumerations of an extensible specification. This class provides get functions for the predefined set of options.

Author:
Hankil Yoon
See Also:
Serialized Form

Method Summary
 int compareTo(java.lang.Object obj)
          Compares this object with the specified object for order.
 boolean equals(java.lang.Object obj)
          This performs a shallow comparison to check if the enumeration is the same as the specified enumeration.
 java.lang.String name()
          This returns the name of the enumeration value.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(java.lang.Object obj)
              throws java.lang.ClassCastException
Compares this object with the specified object for order. Returns the difference between this object and the compared object. Returns 0 if the two objects are the same object.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
obj - An enumeration object to be compared to.
Returns:
int The difference between the two objects compared.
java.lang.ClassCastException

equals

public boolean equals(java.lang.Object obj)
This performs a shallow comparison to check if the enumeration is the same as the specified enumeration.

Overrides:
equals in class java.lang.Object
Parameters:
obj - An enumeration object to be compared to.
Returns:
boolean true if two are the same, false otherwise.

name

public java.lang.String name()
This returns the name of the enumeration value.

Returns:
String