|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjebl.evolution.characters.ContinuousCharacter
public class ContinuousCharacter
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 SetMethod Detail |
---|
public void setName(java.lang.String name)
Character
setName
in interface Character
name
- the name of the characterpublic java.lang.String getName()
Character
getName
in interface Character
public void setDesc(java.lang.String desc)
Character
setDesc
in interface Character
desc
- the description of the characterpublic java.lang.String getDesc()
Character
getDesc
in interface Character
public CharacterType getType()
Character
getType
in interface Character
public void addTaxa(java.util.Set<Taxon> taxa)
taxa
- a Setpublic void addTaxon(Taxon taxon)
Character
addTaxon
in interface Character
taxon
- the taxon to add containing the characterpublic java.lang.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 java.util.Set<Taxon> getTaxa()
Character
getTaxa
in interface Character
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |