Skip to content

Commit 4f44fce

Browse files
committed
Group.java from upstream
1 parent 454830a commit 4f44fce

File tree

1 file changed

+5
-3
lines changed
  • biojava-structure/src/main/java/org/biojava/nbio/structure

1 file changed

+5
-3
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/Group.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,13 @@ public interface Group extends Serializable {
103103

104104
/**
105105
* Set the atoms of this group.
106-
* @see {@link Atom}
106+
* @see Atom
107107
* @param atoms a list of atoms
108108
*/
109109
public void setAtoms(List<Atom> atoms);
110110

111-
/** Remove all atoms from this group.
111+
/**
112+
* Remove all atoms from this group.
112113
*
113114
*/
114115
public void clearAtoms();
@@ -118,13 +119,14 @@ public interface Group extends Serializable {
118119
* Beware that some PDB atom names are ambiguous (e.g. CA, which means C-alpha or Calcium),
119120
* ambiguities should not occur within the same group though. To solve these ambiguities
120121
* one would need to check the atom returned for the required element with {@link Atom#getElement()}
122+
* <p>
123+
* Note this method will return only the atom in the default alternative location (be it '.' or a letter).
121124
*
122125
* @param name a trimmed String representing the atom's PDB name, e.g. "CA"
123126
* @return an Atom object or null if no such atom exists within this group
124127
*/
125128
public Atom getAtom(String name) ;
126129

127-
128130
/**
129131
* Get at atom by position.
130132
*

0 commit comments

Comments
 (0)