Class PdbPair
- java.lang.Object
-
- org.biojava.nbio.structure.align.client.PdbPair
-
- All Implemented Interfaces:
Comparable<PdbPair>
public class PdbPair extends Object implements Comparable<PdbPair>
A pair for structure alignment- Author:
- Andreas Prlic name1 is always < name2
-
-
Constructor Summary
Constructors Constructor Description PdbPair(String name1, String name2)
PdbPair(StructureName name1, StructureName name2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PdbPair o)
boolean
equals(Object obj)
String
getChainId1()
String
getChainId2()
String
getName1()
String
getName2()
String
getPDBCode1()
String
getPDBCode2()
PdbPair
getReverse()
int
hashCode()
void
setName1(String name1)
void
setName2(String name2)
String
toString()
-
-
-
Constructor Detail
-
PdbPair
public PdbPair(StructureName name1, StructureName name2)
-
-
Method Detail
-
compareTo
public int compareTo(PdbPair o)
- Specified by:
compareTo
in interfaceComparable<PdbPair>
-
getPDBCode1
public String getPDBCode1() throws StructureException
- Throws:
StructureException
-
getPDBCode2
public String getPDBCode2() throws StructureException
- Throws:
StructureException
-
getChainId1
public String getChainId1()
-
getChainId2
public String getChainId2()
-
getReverse
public PdbPair getReverse()
-
-