Package pal.misc
Interface IdGroup
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
Alignment
,AnnotationAlignment
,CharacterAlignment
,ParameterizedTree
,Tree
- All Known Implementing Classes:
AbstractAlignment
,AlignmentDistanceMatrix
,AlignmentReaders.PhylipClustalAlignment
,AlignmentReaders.UnalignedAlignment
,BootstrappedAlignment
,ClockTree
,ClusterTree
,ConcatenatedAlignment
,ConcatenatedAnnotatedAlignment
,DemographicClockTree
,DistanceMatrix
,GapBalancedAlignment
,IndelAlignment
,IndelAnnotatedAlignment
,JukesCantorDistanceMatrix
,JumbledAlignment
,LogParameterizedTree
,MultiLocusAnnotatedAlignment
,MutationRateModelTree
,NeighborJoiningTree
,ParameterizedTree.ParameterizedTreeBase
,ReadAlignment
,ReadAlignmentOld
,ReadDistanceMatrix
,ReadTree
,SimpleAlignment
,SimpleAnnotatedAlignment
,SimpleCharacterAlignment
,SimpleIdGroup
,SimpleTree
,SimulatedAlignment
,SitePattern
,StrippedAlignment
,StrippedAnnotatedAlignment
,SUPGMADistanceMatrix
,SUPGMATree
,TimeOrderCharacterData
,Tree.TreeBase
,TreeDistanceMatrix
,UnconstrainedTree
,UPGMATree
public interface IdGroup extends java.io.Serializable
An indexed group of identifiers. For example of group of taxa related by a phylogenetic tree.
NOTE: Was called Taxa but not general enough.- Version:
- $Id: IdGroup.java,v 1.10 2002/10/27 05:46:28 matt Exp $
- Author:
- Alexei Drummond
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IdGroup.Utils
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getIdCount()
Returns the number of identifiers in this groupIdentifier
getIdentifier(int i)
Returns the ith identifier.void
setIdentifier(int i, Identifier id)
Sets the ith identifier.int
whichIdNumber(java.lang.String name)
returns the index of the identifier with the given name.
-
-
-
Method Detail
-
getIdCount
int getIdCount()
Returns the number of identifiers in this group
-
getIdentifier
Identifier getIdentifier(int i)
Returns the ith identifier.
-
setIdentifier
void setIdentifier(int i, Identifier id)
Sets the ith identifier.
-
whichIdNumber
int whichIdNumber(java.lang.String name)
returns the index of the identifier with the given name.
-
-