Class AromaticAromaticInteraction


  • public final class AromaticAromaticInteraction
    extends java.lang.Object
    Class representing aromatic-aromatic interaction.
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object