-
Notifications
You must be signed in to change notification settings - Fork 0
/
Counties.java
77 lines (59 loc) · 1.28 KB
/
Counties.java
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import java.util.ArrayList;
public class Counties{
private String name;
private int population;
private double perStudentFunding;
private int africanAmericans;
private int white;
private int americanIndian;
private int asian;
private int hispanic;
public Counties (String name){
this.name = name;
}
public String getName(){
return name;
}
public void setPopulation(int p){
this.population = p;
}
public int getPopulation(){
return population;
}
public void setPerStudentFunding(double p){
this.perStudentFunding = p;
}
public double getPerStudentFunding(){
return perStudentFunding;
}
public void setAfricanAmerican(int a){
this.africanAmericans = a;
}
public int getAfricanAmerican(){
return africanAmericans;
}
public void setWhite(int w){
this.white = w;
}
public int getWhite(){
return white;
}
public void setAmericanIndian(int a){
this.americanIndian = a;
}
public int getAmericanIndian(){
return americanIndian;
}
public void setAsian (int a ){
this.asian = a;
}
public int getAsian(){
return asian;
}
public void setHispanic(int h){
this.hispanic = h;
}
public int getHispanic(){
return hispanic;
}
}