Class Swap
java.lang.Object
com.compomics.util.experiment.biology.variants.amino_acids.Swap
- All Implemented Interfaces:
Variant
Class representing an amino acid swap.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the variant as string.
-
Constructor Details
-
Swap
public Swap()Empty default constructor -
Swap
public Swap(char leftAa, char rightAa) Constructor.- Parameters:
leftAa- the single character code of the amino acid originally to the leftrightAa- the single character code of the amino acid originally to the right
-
-
Method Details
-
getDescription
Description copied from interface:VariantReturns the description of the variant as string.- Specified by:
getDescriptionin interfaceVariant- Returns:
- the description of the variant as string
-