-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGraphData.java
More file actions
55 lines (45 loc) · 869 Bytes
/
GraphData.java
File metadata and controls
55 lines (45 loc) · 869 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package Graph;
/**
*
* @author Jonathan T. Fetzer
* class: CS 480, Cal Poly Pomona
* group: Sounds Neat
*
*/
import java.util.List;
public class GraphData {
private List<String> x;
private List<Integer> y;
private String name = "";
private String type = "";
GraphData(List<String> x, List<Integer> y, String name, String type){
this.x = x;
this.y = y;
this.name = name;
this.type = type;
} // end constructor
public List<String> getX() {
return x;
}
public void setX(List<String> x) {
this.x = x;
}
public List<Integer> getY() {
return y;
}
public void setY(List<Integer> y) {
this.y = y;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
} // end class Crime