GeoSourceEnum.java
928 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
package cn.com.glsx.dj.site.enums;
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
public enum GeoSourceEnum {
MAP_ABC(1, "mapAbc"),
DATA_ICE(2, "数据部门ice服务"),
GAODE(3, "高德");
private Integer id;
private String text;
private GeoSourceEnum(Integer id, String text) {
this.id = id;
this.text = text;
}
public static GeoSourceEnum findById(Integer id) {
GeoSourceEnum[] objs = values();
GeoSourceEnum[] var2 = objs;
int var3 = objs.length;
for(int var4 = 0; var4 < var3; ++var4) {
GeoSourceEnum obj = var2[var4];
if (id.equals(obj.getId())) {
return obj;
}
}
return null;
}
public String getText() {
return this.text;
}
public Integer getId() {
return this.id;
}
}