我如何排序NameValuePair
對象這樣的關鍵的NameValuePair排序
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(7)
nameValuePairs.add(new BasicNameValuePair("api_key", "1"));
nameValuePairs.add(new BasicNameValuePair("merchant", "4"));
nameValuePairs.add(new BasicNameValuePair("format", "json"));
nameValuePairs.add(new BasicNameValuePair("method", method));
nameValuePairs.add(new BasicNameValuePair("cid", "0"));
請註明'nameValuePairs' – 2013-03-07 11:41:42
表的類型<的NameValuePair> namevaluepairs中=新的ArrayList <的NameValuePair>(7) – 2013-03-07 11:42:46