edu.indiana.iucbrf.feature
Class ObjectFeature
java.lang.Object
edu.indiana.iucbrf.feature.AbstractFeature
edu.indiana.iucbrf.feature.ObjectFeature
- All Implemented Interfaces:
- Feature, SwingRepresentable, java.io.Serializable, java.lang.Comparable
public class ObjectFeature
- extends AbstractFeature
A general Object feature, where the value can be any Object.
- See Also:
- Serialized Form
Constructor Summary |
ObjectFeature()
setValue() must be called. |
ObjectFeature(java.lang.Object value)
Creates a new instance of ObjectFeature |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STANDARD_CONSTRUCTOR
public static final transient java.lang.reflect.Constructor STANDARD_CONSTRUCTOR
DEFAULT_VARIABLE_TYPE
public static final int DEFAULT_VARIABLE_TYPE
- See Also:
- Constant Field Values
ObjectFeature
public ObjectFeature()
- setValue() must be called.
ObjectFeature
public ObjectFeature(java.lang.Object value)
- Creates a new instance of ObjectFeature
getDefaultVariableType
public int getDefaultVariableType()
- Get the variable type (for example, Feature.NOMINAL_VARIABLE, Feature.ORDINAL_VARIABLE,
Feature.INTERVAL_VARIABLE, or Feature.OTHER_VARIABLE).
midpoint
public Feature midpoint(Feature other_feature)
- Specified by:
midpoint
in interface Feature
- Specified by:
midpoint
in class AbstractFeature
setValue
public void setValue(java.lang.Object new_value)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Feature
- Specified by:
clone
in class AbstractFeature
getTypeDescription
public static java.lang.String getTypeDescription()