|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--shared.AttrValue
The AttrValue class contains the possible values for attributes.
| Field Summary | |
static byte |
boundedReal
Value for BoundedReal attribute type. |
static byte |
internalDisjunction
Value for InternalDisjunction attribute type. |
int |
intVal
Value for nominal and other discrete values. |
static byte |
linearNominal
Value for LinearNominal attribute type. |
static byte |
nominal
Value for Nominal attribute type. |
static byte |
real
Value for Real attribute type. |
double |
realVal
Value for real and other continuous values. |
static byte |
treeStructured
Value for TreeStructured attribute type. |
byte |
type
The type of attribute this AttrValue is. |
static byte |
unknown
Value for Unknown attribute type. |
static byte |
userInternalDisjunction
Value for UserInternalDisjunction attribute type. |
static byte |
userLinearNominal
Value for UserLinearNominal attribute type. |
static byte |
userNominal
Value for UserNominal attribute type. |
static byte |
userReal
Value for UserReal attribute type. |
static byte |
userTreeStructured
Value for UserTreeStructure attribute type. |
| Constructor Summary | |
AttrValue()
Constructor. |
|
AttrValue(AttrValue src)
Copy constructor. |
|
AttrValue(byte aType)
Constructor. |
|
| Method Summary | |
java.lang.String |
attr_type_to_string(byte attrType)
Converts the specified AttrValue type to a String. |
java.lang.Object |
clone()
Clones this AttrValue. |
void |
copy(AttrValue other)
Copies information from the supplied AttrValue to this AttrValue. |
boolean |
equals(AttrValue a)
Compares this AttrValue to the specified AttrValue. |
void |
gets(AttrValue src)
Sets this AttrValue to the same values as the specified AttrValue. |
java.lang.String |
toString()
Converts the specified AttrValue to a String. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public int intVal
public double realVal
public static final byte unknown
public static final byte real
public static final byte boundedReal
public static final byte nominal
public static final byte linearNominal
public static final byte treeStructured
public static final byte internalDisjunction
public static final byte userReal
public static final byte userNominal
public static final byte userLinearNominal
public static final byte userTreeStructured
public static final byte userInternalDisjunction
public byte type
| Constructor Detail |
public AttrValue()
public AttrValue(AttrValue src)
src - The AttrValue to be copied.public AttrValue(byte aType)
aType - The type of AttrValue this object will be.| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public void gets(AttrValue src)
src - The AttrValue containing values to be copied.public boolean equals(AttrValue a)
a - The AttrValue to be compared to.public java.lang.String attr_type_to_string(byte attrType)
attrType - The specific value to be converted to a String.public java.lang.String toString()
public void copy(AttrValue other)
other - The AttrValue to be copied.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||