Package jebl.evolution.characters
Interface Character
- All Known Implementing Classes:
ContinuousCharacter,DiscreteCharacter
public interface Character
- Author:
- Stephen A. Smith
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd a taxon with this charactergetDesc()return the description of the charactergetName()return the name of the charactergetTaxa()get a Setof all the taxa for this character getType()return the CharacterType of the characterget a value for a taxon containing the charactervoidset the description of the charactervoidset the name of the character
-
Method Details
-
setName
set the name of the character- Parameters:
name- the name of the character
-
getName
String getName()return the name of the character- Returns:
- the name of the character
-
setDesc
set the description of the character- Parameters:
desc- the description of the character
-
getDesc
String getDesc()return the description of the character- Returns:
- the description of the character
-
getType
CharacterType getType()return the CharacterType of the character- Returns:
- the CharacterType of the character
-
addTaxon
add a taxon with this character- Parameters:
taxon- the taxon to add containing the character
-
getValue
get a value for a taxon containing the character- Parameters:
taxon- the taxon to get the value for- Returns:
- the Object value of the character for the given taxon
-
getTaxa
get a Setof all the taxa for this character - Returns:
- a Set
containing all of the taxa for this character
-