de.zimek.proteinfeatures.attributeAssigner
Class ProteinLength

java.lang.Object
  extended byde.zimek.proteinfeatures.attributeAssigner.AbstractArffRealAttributeAssigner
      extended byde.zimek.proteinfeatures.attributeAssigner.ProteinLength
All Implemented Interfaces:
ArffAttributeAssigner

public class ProteinLength
extends AbstractArffRealAttributeAssigner

Author:
Arthur Zimek

Field Summary
 
Fields inherited from class de.zimek.proteinfeatures.attributeAssigner.AbstractArffRealAttributeAssigner
WHITESPACE
 
Fields inherited from interface de.zimek.proteinfeatures.attributeAssigner.ArffAttributeAssigner
ATTRIBUTE_MARK
 
Constructor Summary
ProteinLength()
           
 
Method Summary
protected  double[] attributes(Protein protein)
          Returns the attributes according to the actual attribute-assigner.
 java.lang.String getAttributeDefinition()
          Provides the attribute-definition in arff-format with an ending newline.
 
Methods inherited from class de.zimek.proteinfeatures.attributeAssigner.AbstractArffRealAttributeAssigner
getAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProteinLength

public ProteinLength()
Method Detail

attributes

protected double[] attributes(Protein protein)
Description copied from class: AbstractArffRealAttributeAssigner
Returns the attributes according to the actual attribute-assigner.

Specified by:
attributes in class AbstractArffRealAttributeAssigner
Parameters:
protein -
Returns:
double[]
See Also:
AbstractArffRealAttributeAssigner.attributes(Protein)

getAttributeDefinition

public java.lang.String getAttributeDefinition()
Description copied from interface: ArffAttributeAssigner
Provides the attribute-definition in arff-format with an ending newline.

Returns:
String
See Also:
ArffAttributeAssigner.getAttributeDefinition()