Package org.forester.phylogeny.data
Class BranchData
java.lang.Object
org.forester.phylogeny.data.BranchData
- All Implemented Interfaces:
 PhylogenyData
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfidence(Confidence confidence) asText()copy()Creates a new PhylogenyData object with identical values as this PhylogenyData.getConfidence(int index) intbooleanisEqual(PhylogenyData data) Compares this PhylogenyData to PhylogenyData data.booleanbooleanbooleanvoidsetBranchColor(BranchColor branch_color) voidsetBranchWidth(BranchWidth branch_width) toNHX()voidtoPhyloXML(Writer writer, int level, String indentation) Writes a phyloXML representation of this phylogeny data. 
- 
Constructor Details
- 
BranchData
public BranchData() 
 - 
 - 
Method Details
- 
addConfidence
 - 
asSimpleText
- Specified by:
 asSimpleTextin interfacePhylogenyData
 - 
asText
- Specified by:
 asTextin interfacePhylogenyData
 - 
copy
Description copied from interface:PhylogenyDataCreates a new PhylogenyData object with identical values as this PhylogenyData. This ~should~ return a deep copy, but not there yet.- Specified by:
 copyin interfacePhylogenyData- Returns:
 - a ~deep~ copy of this PhylogenyData
 
 - 
getBranchColor
 - 
getBranchWidth
 - 
getConfidence
 - 
getConfidences
 - 
getNumberOfConfidences
public int getNumberOfConfidences() - 
isEqual
Description copied from interface:PhylogenyDataCompares this PhylogenyData to PhylogenyData data. In general, this should return true if and only if all fiels are exactly identical.- Specified by:
 isEqualin interfacePhylogenyData- Returns:
 - in general, true if and only if all fiels are exactly identical, false otherwise
 
 - 
isHasBranchColor
public boolean isHasBranchColor() - 
isHasBranchWidth
public boolean isHasBranchWidth() - 
isHasConfidences
public boolean isHasConfidences() - 
setBranchColor
 - 
setBranchWidth
 - 
toNHX
- Specified by:
 toNHXin interfacePhylogenyData
 - 
toPhyloXML
Description copied from interface:PhylogenyDataWrites a phyloXML representation of this phylogeny data.- Specified by:
 toPhyloXMLin interfacePhylogenyData- Throws:
 IOException
 
 -