// Path: chh/src/main/java/com/fei_ke/chiphellclient/utils/UrlParamsMap.java
// public class UrlParamsMap extends HashMap<String, String> {
//     public UrlParamsMap(String url) {
// 
//         int s = url.indexOf("?");
//         if (s == -1)
//             return;
//         url = url.substring(s + 1);
// 
//         String[] params = url.split("&");
//         for (String paramGroup : params) {
//             String[] param = paramGroup.split("=");
//             String key = param[0];
//             String value;
//             if (param.length > 1) {
//                 value = param[1];
//             } else {
//                 value = "";
//             }
//             put(key, value);
//         }
//     }
// }


import com.fei_ke.chiphellclient.utils.UrlParamsMap;
    }

    public String getCount() {
        calcDateAndCount();
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public void setTimeAndCount(String timeAndCount) {
        this.timeAndCount = timeAndCount;
    }

    public int getTitleColor() {
        return titleColor;
    }

    public void setTitleColor(int titleColor) {
        this.titleColor = titleColor;
    }

    @Override
    public String toString() {
        return "Thread [title=" + title + ", url=" + url + ", by=" + by + ", timeAndCount=" + timeAndCount + "]";
    }

    public String getTid() {
        if (tid == null) {
// Path: chh/src/main/java/com/fei_ke/chiphellclient/utils/UrlParamsMap.java
// public class UrlParamsMap extends HashMap<String, String> {
//     public UrlParamsMap(String url) {
// 
//         int s = url.indexOf("?");
//         if (s == -1)
//             return;
//         url = url.substring(s + 1);
// 
//         String[] params = url.split("&");
//         for (String paramGroup : params) {
//             String[] param = paramGroup.split("=");
//             String key = param[0];
//             String value;
//             if (param.length > 1) {
//                 value = param[1];
//             } else {
//                 value = "";
//             }
//             put(key, value);
//         }
//     }
// }


// Path: chh/src/main/java/com/fei_ke/chiphellclient/bean/Thread.java
import com.fei_ke.chiphellclient.utils.UrlParamsMap;

    }

    public String getCount() {
        calcDateAndCount();
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public void setTimeAndCount(String timeAndCount) {
        this.timeAndCount = timeAndCount;
    }

    public int getTitleColor() {
        return titleColor;
    }

    public void setTitleColor(int titleColor) {
        this.titleColor = titleColor;
    }

    @Override
    public String toString() {
        return "Thread [title=" + title + ", url=" + url + ", by=" + by + ", timeAndCount=" + timeAndCount + "]";
    }

    public String getTid() {
        if (tid == null) {
            tid = new UrlParamsMap(url).get("tid");