pl.poznan.put.pdb.analysis.ResidueComponent Maven / Gradle / Ivy
package pl.poznan.put.pdb.analysis;
import pl.poznan.put.atom.AtomName;
import java.util.Collections;
import java.util.Set;
/** A fragment of a residue with a set of expected atoms and a set of possible other atoms. */
@FunctionalInterface
public interface ResidueComponent {
/** @return A set of atoms that are expected to be present in this residue component. */
Set requiredAtoms();
/** @return A set of additional atoms that might be present in this residue component. */
default Set additionalAtoms() {
return Collections.emptySet();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy