|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rubecula.darwin.domain.helper.FitnessCacheKey
public class FitnessCacheKey
This class is used to form the key for the FitnessCache
| Constructor Summary | |
|---|---|
FitnessCacheKey(TraitMap traits,
FitnessEngine engine,
Environment environment)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Use equality for the _engine directly but for the
_traits, get the signature and check its equality. |
java.lang.String |
getIdentifier()
|
int |
hashCode()
Use the hash code for the _engine directly but for the
_traits, get the signature and use its hash code. |
java.lang.String |
toString()
TODO consider to use audit utilities |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FitnessCacheKey(TraitMap traits,
FitnessEngine engine,
Environment environment)
traits - the traits that will form part of our fitness cache keyengine - the fitness engine that will form part of our fitness cache
kayenvironment - XXX| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
_engine directly but for the
_traits, get the signature and check its equality.
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String getIdentifier()
getIdentifier in interface net.sf.tostring0.IdentifiableIdentifiable.getIdentifier()public int hashCode()
_engine directly but for the
_traits, get the signature and use its hash code.
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||