-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathData.java
More file actions
33 lines (28 loc) · 720 Bytes
/
Data.java
File metadata and controls
33 lines (28 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package denguesimulation;
/**
*
* @author juliam
*/
public class Data {
int susceptibleCount;
int infectedCount;
int resistantCount;
public Data(int susceptibleCount, int infectedCount, int resistantCount) {
this.susceptibleCount = susceptibleCount;
this.infectedCount = infectedCount;
this.resistantCount = resistantCount;
}
public int getSusceptibleCount() {
return susceptibleCount;
}
public int getInfectedCount() {
return infectedCount;
}
public int getResistantCount() {
return resistantCount;
}
}