Class AromaticAromaticInteraction
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.AromaticAromaticInteraction
-
public final class AromaticAromaticInteraction extends java.lang.Object
Class representing aromatic-aromatic interaction.
-
-
Constructor Summary
Constructors Constructor Description AromaticAromaticInteraction(AminoAcid firstAromaticRing, AminoAcid secondAromaticRing, double distanceBtwRings, double angleBtwRings)
Instantiates new aromatic-aromatic interaction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
double
getAngleBtwRings()
Returns angle between aromatic rings' normal vectors.double
getDistanceBtwRings()
Returns distance between aromatic rings' centroids.AminoAcid
getFirstAromaticRing()
Returns aromatic amino acid of first interaction participant.AminoAcid
getSecondAromaticRing()
Returns aromatic amino acid of second interaction participant.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AromaticAromaticInteraction
public AromaticAromaticInteraction(AminoAcid firstAromaticRing, AminoAcid secondAromaticRing, double distanceBtwRings, double angleBtwRings)
Instantiates new aromatic-aromatic interaction. For parameters' full description see here.- Parameters:
firstAromaticRing
- Aromatic amino acid of first interaction participant.secondAromaticRing
- Aromatic amino acid of second interaction participant.distanceBtwRings
- Distance between aromatic rings' centroids.angleBtwRings
- Angle between aromatic rings' normal vectors.
-
-
Method Detail
-
getFirstAromaticRing
public AminoAcid getFirstAromaticRing()
Returns aromatic amino acid of first interaction participant.- Returns:
- Aromatic amino acid of first interaction participant.
-
getSecondAromaticRing
public AminoAcid getSecondAromaticRing()
Returns aromatic amino acid of second interaction participant.- Returns:
- Aromatic amino acid of second interaction participant.
-
getDistanceBtwRings
public double getDistanceBtwRings()
Returns distance between aromatic rings' centroids.- Returns:
- Distance between aromatic rings' centroids.
-
getAngleBtwRings
public double getAngleBtwRings()
Returns angle between aromatic rings' normal vectors.- Returns:
- Angle between aromatic rings' normal vectors.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-