This commit is contained in:
Branislav Stojkovic
2019-02-25 15:28:10 +01:00
parent a155aef596
commit 39976ec3d6
3 changed files with 279 additions and 126 deletions
@@ -39,6 +39,11 @@ public class Netlist implements Comparable<Netlist> {
return groups;
}
public Netlist add(Group g) {
groups.add(g);
return this;
}
public List<Group> getSortedGroups() {
List<Group> list = new ArrayList<Group>(groups);
Collections.sort(list);