pal.misc
Class TOCDSampleInformation

java.lang.Object
  extended by pal.misc.TOCDSampleInformation
All Implemented Interfaces:
SampleInformation

public class TOCDSampleInformation
extends java.lang.Object
implements SampleInformation

Title: TOCDSampleInformation

Description: A wrapper over the old style TimeOrderCharacterData object for the new SampleInformation object

Version:
1.0
Author:
Matthew Goode

Nested Class Summary
 
Nested classes/interfaces inherited from interface pal.misc.SampleInformation
SampleInformation.Factory
 
Constructor Summary
TOCDSampleInformation(TimeOrderCharacterData base)
           
 
Method Summary
 double getHeight(int sample)
           
 int getHeightUnits()
           
 double getMaxHeight()
           
 int getNumberOfSamples()
           
 int getSampleOrdinal(java.lang.String leafID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TOCDSampleInformation

public TOCDSampleInformation(TimeOrderCharacterData base)
Method Detail

getNumberOfSamples

public int getNumberOfSamples()
Specified by:
getNumberOfSamples in interface SampleInformation

getSampleOrdinal

public int getSampleOrdinal(java.lang.String leafID)
Specified by:
getSampleOrdinal in interface SampleInformation

getHeight

public double getHeight(int sample)
Specified by:
getHeight in interface SampleInformation

getHeightUnits

public int getHeightUnits()
Specified by:
getHeightUnits in interface SampleInformation

getMaxHeight

public double getMaxHeight()
Specified by:
getMaxHeight in interface SampleInformation