|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.huguesjohnson.jail.jdt.Attribute
class Attribute
Constructor Summary | |
Attribute(java.lang.String name)
constructor sets gain of attribute to default value of 0.0D |
|
Attribute(java.lang.String name,
double gain)
constructor |
Method Summary | |
double |
getGain()
retrieves gain of attribute |
java.lang.String |
getName()
retrieves name of attribute |
void |
setGain(double gain)
sets gain of attribute |
void |
setName(java.lang.String name)
sets name of attribute |
java.lang.String |
toString()
returns a string representation of the object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Attribute(java.lang.String name, double gain)
name
- name of the attributegain
- gain of the attributepublic Attribute(java.lang.String name)
name
- name of attributeMethod Detail |
public java.lang.String getName()
public double getGain()
public void setName(java.lang.String name)
name
- new name of attributepublic void setGain(double gain)
gain
- new gain of attributepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |