public class GroupContactSet extends Object implements Serializable, Iterable<GroupContact>
ResidueIdentifier, 
Serialized Form| Constructor and Description | 
|---|
GroupContactSet()  | 
GroupContactSet(AtomContactSet atomContacts)
Constructs a  
GroupContactSet by collapsing the given AtomContactSet into
 residue-residue (group-group) contacts. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(GroupContact groupContact)  | 
GroupContact | 
getContact(Group group1,
          Group group2)
Returns the corresponding GroupContact or null if no contact exists between the 2 given groups 
 | 
boolean | 
hasContact(Group group1,
          Group group2)
Tell whether the given group pair is a contact in this GroupContactSet,
 the comparison is done by matching residue numbers and chain identifiers 
 | 
boolean | 
hasContact(org.biojava.nbio.structure.contact.ResidueIdentifier resId1,
          org.biojava.nbio.structure.contact.ResidueIdentifier resId2)
Tell whether the given pair is a contact in this GroupContactSet,
 in a chain-identifier independent way: contacts happening between different copies of
 the same Compound(Entity) will be considered equal as long as they have the same
 residue numbers. 
 | 
boolean | 
hasContact(ResidueNumber resNumber1,
          ResidueNumber resNumber2)
Tell whether the given pair is a contact in this GroupContactSet,
 the comparison is done by matching residue numbers and chain identifiers 
 | 
Iterator<GroupContact> | 
iterator()  | 
int | 
size()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic GroupContactSet()
public GroupContactSet(AtomContactSet atomContacts)
GroupContactSet by collapsing the given AtomContactSet into
 residue-residue (group-group) contacts.atomContacts - public void add(GroupContact groupContact)
public boolean hasContact(Group group1, Group group2)
group1 - group2 - public boolean hasContact(ResidueNumber resNumber1, ResidueNumber resNumber2)
resNumber1 - resNumber2 - public boolean hasContact(org.biojava.nbio.structure.contact.ResidueIdentifier resId1, org.biojava.nbio.structure.contact.ResidueIdentifier resId2)
resId1 - resId2 - public GroupContact getContact(Group group1, Group group2)
group1 - group2 - public int size()
public Iterator<GroupContact> iterator()
iterator in interface Iterable<GroupContact>Copyright © 2000–2017 BioJava. All rights reserved.