-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResult.java
More file actions
53 lines (41 loc) · 864 Bytes
/
Result.java
File metadata and controls
53 lines (41 loc) · 864 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
package crawler_interface;
public class Result {
private String id;
private String summary;
private String score;
private String simwords;
private String scoreperc;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getSimwords() {
return simwords;
}
public void setSimwords(String simwords) {
this.simwords = simwords;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getScore() {
return score;
}
public void setScore(String score) {
this.score = score;
}
public String getScoreperc() {
return scoreperc;
}
public void setScoreperc(String scoreperc) {
double x = Double.parseDouble(score);
x = x * 100;
String newscore = Double.toString(x);
this.scoreperc = newscore;
}
}