|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.evolution.characters.ContinuousCharacter
public class ContinuousCharacter
Constructor Summary | |
---|---|
ContinuousCharacter(String name,
String desc)
Constructs a basic ContinuousCharacter object with no taxa added yet |
|
ContinuousCharacter(String name,
String desc,
Set<Taxon> taxa)
Constructs a basic ContinuousCharacter object with taxa added |
Method Summary | |
---|---|
void |
addTaxa(Set<Taxon> taxa)
set the taxa for this character with a previously constructed Set |
void |
addTaxon(Taxon taxon)
add a taxon with this character |
String |
getDesc()
return the description of the character |
String |
getName()
return the name of the character |
double |
getSE(Taxon taxon)
|
Set<Taxon> |
getTaxa()
get a Set |
CharacterType |
getType()
return the CharacterType of the character |
Object |
getValue(Taxon taxon)
get a value for a taxon containing the character |
void |
setDesc(String desc)
set the description of the character |
void |
setName(String name)
set the name of the character |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContinuousCharacter(String name, String desc)
name
- the name of the characterdesc
- the description of the characterpublic ContinuousCharacter(String name, String desc, Set<Taxon> taxa)
name
- the name of the characterdesc
- the description of the charactertaxa
- the SetMethod Detail |
---|
public void setName(String name)
Character
setName
in interface Character
name
- the name of the characterpublic String getName()
Character
getName
in interface Character
public void setDesc(String desc)
Character
setDesc
in interface Character
desc
- the description of the characterpublic String getDesc()
Character
getDesc
in interface Character
public CharacterType getType()
Character
getType
in interface Character
public void addTaxa(Set<Taxon> taxa)
taxa
- a Setpublic void addTaxon(Taxon taxon)
Character
addTaxon
in interface Character
taxon
- the taxon to add containing the characterpublic Object getValue(Taxon taxon)
Character
getValue
in interface Character
taxon
- the taxon to get the value for
public double getSE(Taxon taxon)
taxon
- the taxon for which to get the standard error
public Set<Taxon> getTaxa()
Character
getTaxa
in interface Character
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |