|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.app.analyst.script.AnalystClassItem
public class AnalystClassItem
Holds a class item for the script. Some columns in a CSV are classes. This object holds the possible class types.
Constructor Summary | |
---|---|
AnalystClassItem(String theCode,
String theName,
int theCount)
Construct a class item. |
Method Summary | |
---|---|
int |
compareTo(AnalystClassItem o)
|
String |
getCode()
|
int |
getCount()
|
String |
getName()
|
void |
increaseCount()
Increase the count. |
void |
setCode(String theCode)
|
void |
setName(String theName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnalystClassItem(String theCode, String theName, int theCount)
theCode
- The code, this is how it is in the CSV.theName
- The name, a more meaningful name than code.
Can be the same as code, if desired.theCount
- The count.Method Detail |
---|
public int compareTo(AnalystClassItem o)
compareTo
in interface Comparable<AnalystClassItem>
public String getCode()
public int getCount()
public String getName()
public void increaseCount()
public void setCode(String theCode)
theCode
- the code to setpublic void setName(String theName)
theName
- the name to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |