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

public interface IdGroup extends 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 final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of identifiers in this group
    Returns the ith identifier.
    void
    Sets the ith identifier.
    int
    returns the index of the identifier with the given name.
  • Method Details

    • 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(String name)
      returns the index of the identifier with the given name.