Class AromaticAromaticInteraction
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.AromaticAromaticInteraction
-
public final class AromaticAromaticInteraction extends java.lang.ObjectClass 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 booleanequals(java.lang.Object o)doublegetAngleBtwRings()Returns angle between aromatic rings' normal vectors.doublegetDistanceBtwRings()Returns distance between aromatic rings' centroids.AminoAcidgetFirstAromaticRing()Returns aromatic amino acid of first interaction participant.AminoAcidgetSecondAromaticRing()Returns aromatic amino acid of second interaction participant.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-