public class Confidence extends Object implements PhylogenyData, Comparable<Confidence>
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_DEFAULT_VALUE |
static NumberFormat |
FORMATTER |
| Constructor and Description |
|---|
Confidence() |
Confidence(double value,
String type) |
Confidence(double value,
String type,
double sd) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
int |
compareTo(Confidence confidence) |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
double |
getStandardDeviation() |
String |
getType() |
double |
getValue() |
void |
init() |
boolean |
isEqual(PhylogenyData confidence)
Compares this PhylogenyData to PhylogenyData data.
|
void |
setStandardDeviation(double sd) |
void |
setType(String type) |
void |
setValue(double value) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public static final int CONFIDENCE_DEFAULT_VALUE
public static final NumberFormat FORMATTER
public Confidence()
public Confidence(double value,
String type)
public Confidence(double value,
String type,
double sd)
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic int compareTo(Confidence confidence)
compareTo in interface Comparable<Confidence>public PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic String getType()
public double getValue()
public double getStandardDeviation()
public void init()
public boolean isEqual(PhylogenyData confidence)
PhylogenyDataisEqual in interface PhylogenyDatapublic void setType(String type)
public void setValue(double value)
public void setStandardDeviation(double sd)
public StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionCopyright © 2016. All rights reserved.