Class SulphurAromaticInteraction


  • public final class SulphurAromaticInteraction
    extends java.lang.Object
    Class representing sulphur-aromatic interaction.
    • Constructor Detail

      • SulphurAromaticInteraction

        public SulphurAromaticInteraction​(AminoAcid aromaticAminoAcid,
                                          AminoAcid sulphurAminoAcid,
                                          double distanceBtwRingSulphur,
                                          double elevationAngle,
                                          double equatorialAngle)
        Instantiates new sulphur-aromatic interaction. For parameters' full description see here.
        Parameters:
        aromaticAminoAcid - Amino acid of aromatic interaction participant.
        sulphurAminoAcid - Amino acid of interaction participant with sulphur atom.
        distanceBtwRingSulphur - Distance between aromatic ring centroid and sulphur atom.
        elevationAngle - Elevation angle for aromatic ring and sulphur atom.
        equatorialAngle - Equatorial angle for aromatic ring and sulphur atom.
    • Method Detail

      • getAromaticAminoAcid

        public AminoAcid getAromaticAminoAcid()
        Returns amino acid of aromatic interaction participant.
        Returns:
        Amino acid of aromatic interaction participant.
      • getSulphurAminoAcid

        public AminoAcid getSulphurAminoAcid()
        Returns amino acid with sulphur atom.
        Returns:
        Amino acid with sulphur atom.
      • getDistanceBtwRingSulphur

        public double getDistanceBtwRingSulphur()
        Returns distance between aromatic ring centroid and sulphur atom.
        Returns:
        Distance between aromatic ring centroid and sulphur atom.
      • 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