|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.core.AbstractGene
org.evolvica.core.StringGene
A gene of type String. This gene contains string as a value.
Field Summary | |
protected java.lang.String |
value
The string value of this gene. |
Constructor Summary | |
StringGene(java.lang.String value)
Constructor. |
Method Summary | |
IGenotype |
copy()
Creates a complete copy of this genotype (optional operation). |
java.lang.String |
getValue()
Returns the value. |
void |
setValue(java.lang.String value)
Sets the value. |
java.lang.String |
toString()
Returns a string representation of this gene. |
Methods inherited from class org.evolvica.core.AbstractGene |
getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String value
Constructor Detail |
public StringGene(java.lang.String value)
value
- the value of this geneMethod Detail |
public IGenotype copy()
IGenotype
IGenotype.copy()
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value to setpublic java.lang.String toString()
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |