Constructor and Description |
---|
ContinuousCharacter(java.lang.String name,
java.lang.String desc)
Constructs a basic ContinuousCharacter object with no taxa added yet
|
ContinuousCharacter(java.lang.String name,
java.lang.String desc,
java.util.Set<Taxon> taxa)
Constructs a basic ContinuousCharacter object with taxa added
|
Modifier and Type | Method and Description |
---|---|
void |
addTaxa(java.util.Set<Taxon> taxa)
set the taxa for this character with a previously constructed Set
|
void |
addTaxon(Taxon taxon)
add a taxon with this character
|
java.lang.String |
getDesc()
return the description of the character
|
java.lang.String |
getName()
return the name of the character
|
double |
getSE(Taxon taxon) |
java.util.Set<Taxon> |
getTaxa()
get a Set
|
CharacterType |
getType()
return the CharacterType of the character
|
java.lang.Object |
getValue(Taxon taxon)
get a value for a taxon containing the character
|
void |
setDesc(java.lang.String desc)
set the description of the character
|
void |
setName(java.lang.String name)
set the name of the character
|
public ContinuousCharacter(java.lang.String name, java.lang.String desc)
name
- the name of the characterdesc
- the description of the characterpublic ContinuousCharacter(java.lang.String name, java.lang.String desc, java.util.Set<Taxon> taxa)
name
- the name of the characterdesc
- the description of the charactertaxa
- the Setpublic void setName(java.lang.String name)
Character
public java.lang.String getName()
Character
public void setDesc(java.lang.String desc)
Character
public java.lang.String getDesc()
Character
public CharacterType getType()
Character
public void addTaxa(java.util.Set<Taxon> taxa)
taxa
- a Setpublic void addTaxon(Taxon taxon)
Character
public java.lang.Object getValue(Taxon taxon)
Character
public double getSE(Taxon taxon)
taxon
- the taxon for which to get the standard errorhttp://code.google.com/p/jebl2/