We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81decd0 commit dedcf33Copy full SHA for dedcf33
base/core/src/main/java/org/openscience/cdk/sgroup/Sgroup.java
@@ -36,9 +36,9 @@
36
*/
37
public class Sgroup {
38
39
- private final Set<IAtom> atoms = new HashSet<>();
40
- private final Set<IBond> bonds = new HashSet<>();
41
- private final Set<Sgroup> parents = new HashSet<>();
+ private final Set<IAtom> atoms = new LinkedHashSet<>();
+ private final Set<IBond> bonds = new LinkedHashSet<>();
+ private final Set<Sgroup> parents = new LinkedHashSet<>();
42
43
private final Map<SgroupKey, Object> attributes = new EnumMap<>(SgroupKey.class);
44
0 commit comments