Class CensorStatus
- java.lang.Object
-
- org.biojava.nbio.survival.kaplanmeier.figure.CensorStatus
-
- All Implemented Interfaces:
Comparable<CensorStatus>
public class CensorStatus extends Object implements Comparable<CensorStatus>
- Author:
- willishf@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CensorStatus()
CensorStatus(String group, Double time, String censored)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CensorStatus o)
CensorStatus
getCopy()
Double
getPercentage()
void
setPercentage(Double percentage)
String
toString()
-
-
-
Constructor Detail
-
CensorStatus
public CensorStatus()
-
CensorStatus
public CensorStatus(String group, Double time, String censored)
- Parameters:
group
-time
-censored
-
-
-
Method Detail
-
getCopy
public CensorStatus getCopy()
- Returns:
-
compareTo
public int compareTo(CensorStatus o)
- Specified by:
compareTo
in interfaceComparable<CensorStatus>
-
getPercentage
public Double getPercentage()
- Returns:
- the percentage
-
setPercentage
public void setPercentage(Double percentage)
- Parameters:
percentage
- the percentage to set
-
-