1 package civitas.common.tallystate;
2
3 import civitas.common.ballotdesign.BallotDesign;
4
5 public class CreateTallyState {
6
7 public TallyState newTallyState(final BallotDesign that) {
8 Integer size = that.getCandidates().length;
9 var matrix = new Integer[size][size];
10 return new TallyState(size, matrix);
11 }
12 }