GeoSourceEnum.java 928 Bytes
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;
    }
}