现在,我需要根据来自sort对象的值对JSONArray进行排序。, new KreeftenComparatorLA());Collections.sort(db.lijst, new KreeftenComparatorNL());Collections.sort(JA, new KreeftenComparatorNL());
Collections.sort提供了一个错误:类型集合中的方法排序(列表、比较器)不适用于参数(JS
8.5375900,115.4034500","-8.5358900,115.4036500","-8.5358900,115.4036500","-8.5358800,115.4033400"]String[]pairs=null; hasil = getRequest(url); {jObject = new JSONObject(hasil