-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUriBean.java
More file actions
47 lines (38 loc) · 971 Bytes
/
UriBean.java
File metadata and controls
47 lines (38 loc) · 971 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
package com.cat.multi.sql;
import java.util.Objects;
/**
* Created by cat on 2018/1/28.
*/
public class UriBean {
private String url;
private String destPah;
public UriBean(String url, String destPah) {
this.url = url;
this.destPah = destPah;
}
public String getUrl() {
return url;
}
public String getDestPah() {
return destPah;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UriBean uriBean = (UriBean) o;
return Objects.equals(url, uriBean.url);
}
@Override
public int hashCode() {
return Objects.hash(url);
}
@Override
public String toString() {
// System.err.println("X-toString");
return "UriBean{" +
"url='" + url + '\'' +
", destPah='" + destPah + '\'' +
'}';
}
}