Package pal.misc
Interface IdGroup
- All Superinterfaces:
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
An indexed group of identifiers. For example of group of taxa
related by a phylogenetic tree.
NOTE: Was called Taxa but not general enough.
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 -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of identifiers in this groupgetIdentifier
(int i) Returns the ith identifier.void
setIdentifier
(int i, Identifier id) Sets the ith identifier.int
whichIdNumber
(String name) returns the index of the identifier with the given name.
-
Method Details
-
getIdCount
int getIdCount()Returns the number of identifiers in this group -
getIdentifier
Returns the ith identifier. -
setIdentifier
Sets the ith identifier. -
whichIdNumber
returns the index of the identifier with the given name.
-