'STRAP:multiple sequence alignments '

charite.christo.strap.extensions
Class CountResidues

java.lang.Object
  extended by charite.christo.strap.extensions.CountResidues
All Implemented Interfaces:
HasModiCount, HasProtein, ValueOfProtein

public class CountResidues
extends java.lang.Object
implements ValueOfProtein, HasModiCount

HELP This class counts the amino acids in a protein.


Constructor Summary
CountResidues()
           
 
Method Summary
 void compute()
          When it is time consuming then do the calculation in the compute method.
 Protein getProtein()
           
 double getValue()
           
 int modificationCount()
           
 boolean setProtein(Protein p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountResidues

public CountResidues()
Method Detail

getProtein

public Protein getProtein()
Specified by:
getProtein in interface HasProtein

setProtein

public boolean setProtein(Protein p)
Specified by:
setProtein in interface ValueOfProtein

getValue

public double getValue()
Specified by:
getValue in interface ValueOfProtein

compute

public void compute()
Description copied from interface: ValueOfProtein
When it is time consuming then do the calculation in the compute method. Non time intensive calculations can be performed in getValue() directly.

Specified by:
compute in interface ValueOfProtein

modificationCount

public int modificationCount()
Specified by:
modificationCount in interface HasModiCount

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'