|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
- XXXMethod 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.Object
Object.equals(java.lang.Object)
public java.lang.String getIdentifier()
getIdentifier
in interface net.sf.tostring0.Identifiable
Identifiable.getIdentifier()
public int hashCode()
_engine
directly but for the
_traits
, get the signature and use its hash code.
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |