|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rubecula.darwin.domain.helper.PhenotypeCacheKey
public class PhenotypeCacheKey
This class is used to form the key for the PhenotypeCache
| Constructor Summary | |
|---|---|
PhenotypeCacheKey(Basic genes,
net.sf.tostring0.Identifiable identifiable)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Standard equals but based on CacheSignature.getSignature() instead of just
_genes. |
java.lang.String |
getIdentifier()
|
int |
hashCode()
Standard hashCode but based on CacheSignature.getSignature() instead of
just _genes. |
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 PhenotypeCacheKey(Basic genes,
net.sf.tostring0.Identifiable identifiable)
genes - the genes of the cached objectidentifiable - an identifiable object to uniquely determine said genes,
usually the id of the population to which the genes belong.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
CacheSignature.getSignature() instead of just
_genes.
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()
CacheSignature.getSignature() instead of
just _genes.
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 | |||||||||