-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPairNode.java
More file actions
50 lines (36 loc) · 828 Bytes
/
Copy pathPairNode.java
File metadata and controls
50 lines (36 loc) · 828 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
public class PairNode {
private String first;
private String second;
private double similarity;
private PairNode next;
public PairNode(String first, String second, double similarity) {
this.first = first;
this.second = second;
this.similarity = similarity;
next = null;
}
public String getFirst() {
return first;
}
public void setFirst(String first) {
this.first = first;
}
public String getSecond() {
return second;
}
public void setSecond(String second) {
this.second = second;
}
public double getSimilarity() {
return similarity;
}
public void setSimilarity(double similarity) {
this.similarity = similarity;
}
public PairNode getNext() {
return next;
}
public void setNext(PairNode next) {
this.next = next;
}
}