Class HydrophobicInteraction
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.HydrophobicInteraction
-
public final class HydrophobicInteraction extends java.lang.Object
Class representing hydrophobic interaction.
-
-
Constructor Summary
Constructors Constructor Description HydrophobicInteraction(AminoAcid firstInteractee, AminoAcid secondInteractee, double distanceBtwCAs)
Instantiates new hydrophobic interaction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
double
getDistanceBtwCAs()
Returns distance between CA atoms of interaction participants.AminoAcid
getFirstInteractee()
Returns amino acid of first interaction participant.AminoAcid
getSecondInteractee()
Returns amino acid of second interaction participant.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
HydrophobicInteraction
public HydrophobicInteraction(AminoAcid firstInteractee, AminoAcid secondInteractee, double distanceBtwCAs)
Instantiates new hydrophobic interaction.- Parameters:
firstInteractee
- Hydrophobic amino acid of first interaction participant.secondInteractee
- Hydrophobic amino acid of second interaction participant.distanceBtwCAs
- Distance between CA atoms of interaction participants.
-
-
Method Detail
-
getFirstInteractee
public AminoAcid getFirstInteractee()
Returns amino acid of first interaction participant.- Returns:
- Amino acid of first interaction participant.
-
getSecondInteractee
public AminoAcid getSecondInteractee()
Returns amino acid of second interaction participant.- Returns:
- Amino acid of second interaction participant.
-
getDistanceBtwCAs
public double getDistanceBtwCAs()
Returns distance between CA atoms of interaction participants.- Returns:
- Distance between CA atoms of interaction participants.
-
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
-
-