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).
-
TaxaPartition(String, int, Object, Taxa)
-
-
cloneSpecsSet()
-
-
getGroups()
- Returns an array of all the partition numbers
-
getNewPropertyStorage(int)
- gets storage for set of properties
-
getNumberInGroup(TaxaGroup)
-
-
getNumberOfGroups()
-
-
getTaxa()
-
-
getTaxaGroup(int)
-
-
getTaxaGroup(Taxon)
-
-
getTypeName()
-
TaxaPartition
public TaxaPartition(java.lang.String name,
int numTaxa,
java.lang.Object defaultProperty,
mesquite.lib.Taxa taxa)
cloneSpecsSet
public mesquite.lib.SpecsSet cloneSpecsSet()
- Overrides:
- cloneSpecsSet in class mesquite.lib.SpecsSet
getTaxa
public mesquite.lib.Taxa getTaxa()
getTypeName
public java.lang.String getTypeName()
- Overrides:
- getTypeName in class mesquite.lib.SpecsSet
getNumberOfGroups
public int getNumberOfGroups()
getGroups
public mesquite.lib.TaxaGroup[] getGroups()
- Returns an array of all the partition numbers
getNumberInGroup
public int getNumberInGroup(mesquite.lib.TaxaGroup target)
getNewPropertyStorage
public java.lang.Object[] getNewPropertyStorage(int numParts)
- gets storage for set of properties
- Overrides:
- getNewPropertyStorage in class mesquite.lib.ObjectSpecsSet
getTaxaGroup
public mesquite.lib.TaxaGroup getTaxaGroup(int part)
getTaxaGroup
public mesquite.lib.TaxaGroup getTaxaGroup(mesquite.lib.Taxon taxon)
All Packages Class Hierarchy This Package Previous Next Index