Class Contact
- java.lang.Object
-
- org.biojava.nbio.structure.contact.Contact
-
- All Implemented Interfaces:
Serializable
public class Contact extends Object implements Serializable
A simple class to store contacts in the form of pairs of indices and a distance associated to them.- Since:
- 5.0
- Author:
- Jose Duarte
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Contact(int i, int j, double distance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDistance()
int
getI()
Pair<Integer>
getIndexPair()
int
getJ()
-
-
-
Constructor Detail
-
Contact
public Contact(int i, int j, double distance)
-
-
Method Detail
-
getIndexPair
public Pair<Integer> getIndexPair()
-
getI
public int getI()
-
getJ
public int getJ()
-
getDistance
public double getDistance()
-
-