Package org.rcsb.strucmotif.domain.motif
Interface ResiduePairIdentifier
- All Known Implementing Classes:
IndexResiduePairIdentifier,InvertedIndexResiduePairIdentifier
public interface ResiduePairIdentifier
Residue pair identifiers combine the
Selection of each residue making up this pair.-
Method Summary
Modifier and TypeMethodDescriptionintThe index of the first residue.intThe index of the second residue.The complex IndexSelection of the first residue.The complex IndexSelection of the second residue.The operator expression applied to the first residue.The operator expression applied to the second residue.default Stream<IndexSelection>Convenience method to access both IndexSelections.
-
Method Details
-
getIndex1
int getIndex1()The index of the first residue.- Returns:
- an int
-
getStructOperId1
String getStructOperId1()The operator expression applied to the first residue.- Returns:
- a String
-
getIndex2
int getIndex2()The index of the second residue.- Returns:
- an int
-
getStructOperId2
String getStructOperId2()The operator expression applied to the second residue.- Returns:
- a String
-
getIndexSelection1
IndexSelection getIndexSelection1()The complex IndexSelection of the first residue. If possible, use low-level methods that avoid object creation if data comes from the inverted index.- Returns:
- an
IndexSelection
-
getIndexSelection2
IndexSelection getIndexSelection2()The complex IndexSelection of the second residue. If possible, use low-level methods that avoid object creation if data comes from the inverted index.- Returns:
- an
IndexSelection
-
indexSelections
Convenience method to access both IndexSelections.- Returns:
- a Stream of IndexSelections
-