Class PdbPair
java.lang.Object
org.biojava.nbio.structure.align.client.PdbPair
- All Implemented Interfaces:
Comparable<PdbPair>
A pair for structure alignment.
a pair is considered equal to another pair if their two respective tuple poles are equal either in their original or reversed order.
i.e. both
new PdbPair("1abc", "2abc").equals(new PdbPair("1abc", "2abc")) and
new PdbPair("1abc", "2abc").equals(new PdbPair("2abc", "1abc")) are true.- Author:
- Andreas Prlic
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetName1()getName2()Deprecated.Deprecated.usegetPDBCode2()insteadinthashCode()voidvoidtoString()
-
Constructor Details
-
PdbPair
-
PdbPair
-
-
Method Details
-
getName1
-
setName1
-
getName2
-
setName2
-
toString
-
hashCode
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<PdbPair>
-
getPDBCode1
Deprecated.usegetPDBCode1()instead- Returns:
- Throws:
StructureException
-
getPDBCode2
Deprecated.usegetPDBCode2()instead- Returns:
- Throws:
StructureException
-
getPdbId1
- Returns:
- Throws:
StructureException- Since:
- 6.0.0
-
getPdbId2
- Returns:
- Throws:
StructureException- Since:
- 6.0.0
-
getChainId1
-
getChainId2
-
getReverse
-
getPDBCode1()instead