Class Eigenvector
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.analysis.expression.pca.Eigenvector
-
- All Implemented Interfaces:
Identifiable
public class Eigenvector extends AbstractIdentifiable
A right singular vector (a.k.a. eigengenes)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Eigenvector.Factory
-
Constructor Summary
Constructors Constructor Description Eigenvector()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.Integer
getComponentNumber()
double[]
getVector()
int
hashCode()
Returns a hash code based on this entity's identifiers.void
setComponentNumber(Integer componentNumber)
void
setVector(double[] vector)
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toString
-
-
-
-
Method Detail
-
getComponentNumber
public Integer getComponentNumber()
-
setComponentNumber
public void setComponentNumber(Integer componentNumber)
-
getVector
public double[] getVector()
- Returns:
- Binary representing array of doubles
-
setVector
public void setVector(double[] vector)
-
hashCode
public int hashCode()
Returns a hash code based on this entity's identifiers.- Specified by:
hashCode
in classAbstractIdentifiable
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiable
Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equals
in classAbstractIdentifiable
-
-