All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mesquite.lib.TaxaPartition

java.lang.Object
   |
   +----mesquite.lib.Listened
           |
           +----mesquite.lib.Associable
                   |
                   +----mesquite.lib.AssociableWithSpecs
                           |
                           +----mesquite.lib.FileElement
                                   |
                                   +----mesquite.lib.SpecsSet
                                           |
                                           +----mesquite.lib.ObjectSpecsSet
                                                   |
                                                   +----mesquite.lib.TaxaPartition

public class TaxaPartition
extends mesquite.lib.ObjectSpecsSet
A TaxaPartition is a specification of which property applies to each taxon (TAXAPARTITION in NEXUS file format).


Constructor Index

 o TaxaPartition(String, int, Object, Taxa)

Method Index

 o cloneSpecsSet()
 o getGroups()
Returns an array of all the partition numbers
 o getNewPropertyStorage(int)
gets storage for set of properties
 o getNumberInGroup(TaxaGroup)
 o getNumberOfGroups()
 o getTaxa()
 o getTaxaGroup(int)
 o getTaxaGroup(Taxon)
 o getTypeName()

Constructors

 o TaxaPartition
 public TaxaPartition(java.lang.String name,
                      int numTaxa,
                      java.lang.Object defaultProperty,
                      mesquite.lib.Taxa taxa)

Methods

 o cloneSpecsSet
 public mesquite.lib.SpecsSet cloneSpecsSet()
Overrides:
cloneSpecsSet in class mesquite.lib.SpecsSet
 o getTaxa
 public mesquite.lib.Taxa getTaxa()
 o getTypeName
 public java.lang.String getTypeName()
Overrides:
getTypeName in class mesquite.lib.SpecsSet
 o getNumberOfGroups
 public int getNumberOfGroups()
 o getGroups
 public mesquite.lib.TaxaGroup[] getGroups()
Returns an array of all the partition numbers

 o getNumberInGroup
 public int getNumberInGroup(mesquite.lib.TaxaGroup target)
 o getNewPropertyStorage
 public java.lang.Object[] getNewPropertyStorage(int numParts)
gets storage for set of properties

Overrides:
getNewPropertyStorage in class mesquite.lib.ObjectSpecsSet
 o getTaxaGroup
 public mesquite.lib.TaxaGroup getTaxaGroup(int part)
 o getTaxaGroup
 public mesquite.lib.TaxaGroup getTaxaGroup(mesquite.lib.Taxon taxon)

All Packages  Class Hierarchy  This Package  Previous  Next  Index