Class CoxVariablesVariableComparator
- java.lang.Object
-
- org.biojava.nbio.survival.cox.comparators.CoxVariablesVariableComparator
-
- All Implemented Interfaces:
Comparator<CoxVariables>
,CoxComparatorInterface
public class CoxVariablesVariableComparator extends Object implements CoxComparatorInterface
- Author:
- Scooter Willis
-
-
Constructor Summary
Constructors Constructor Description CoxVariablesVariableComparator(String variables, String variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(CoxVariables coxVariables1, CoxVariables coxVariables2)
String
getDescription()
String
getModelVariables()
String
getSortVariable()
void
setDescription(String description)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
CoxVariablesVariableComparator
public CoxVariablesVariableComparator(String variables, String variable)
- Parameters:
variables
-variable
-
-
-
Method Detail
-
compare
public int compare(CoxVariables coxVariables1, CoxVariables coxVariables2)
- Specified by:
compare
in interfaceComparator<CoxVariables>
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceCoxComparatorInterface
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceCoxComparatorInterface
-
getModelVariables
public String getModelVariables()
- Specified by:
getModelVariables
in interfaceCoxComparatorInterface
-
getSortVariable
public String getSortVariable()
- Specified by:
getSortVariable
in interfaceCoxComparatorInterface
-
-