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 intcompareTo(PdbPair o)booleanequals(Object obj)StringgetChainId1()StringgetChainId2()StringgetName1()StringgetName2()StringgetPDBCode1()StringgetPDBCode2()PdbPairgetReverse()inthashCode()voidsetName1(String name1)voidsetName2(String name2)StringtoString()
-
-
-
Constructor Detail
-
PdbPair
public PdbPair(StructureName name1, StructureName name2)
-
-
Method Detail
-
compareTo
public int compareTo(PdbPair o)
- Specified by:
compareToin 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()
-
-