| | |
| | | private static final String DEFAULT_CHARSET = "UTF-8"; |
| | | private static final String REGION_ID = "cn-hangzhou"; |
| | | private static final String VERSION = "2.1.0"; |
| | | |
| | | public static List<CarsDeviceDetaisResponse> HK_CARS_LIST= null; |
| | | public static String BASE_URL = "https://open.hikvisionauto.com:14021/v2/"; |
| | | private static TreeMap<String, String> getBaseParams() { |
| | | Map<String, String> params = Maps.newHashMap(); |
| | |
| | | } |
| | | } |
| | | Collections.sort(list, (o1, o2) -> { |
| | | return (int) (o1.getTimeStamp() - o2.getTimeStamp()); //按数量从大到小排序 |
| | | return (int) (o2.getTimeStamp() - o1.getTimeStamp()); //按时间倒序 |
| | | }); |
| | | return list; |
| | | } |