名称返回值解释示例size()int返回数组长度示例isEmpty()boolean判断是否为空示例contains(Object)boolean判断元素是否在动态数组中示例iterator()iterator<E>迭代器示例toArray()Object[]add(E)booleanremove(Object)booleancontainsAll(Collection<?>)booleanaddAll()booleanremoveAll()booleanremoveIf()booleanretainAll()booleanclear()boolean Post Views: 1,770 Related posts: ArrayList(JSONArray)中size怎么用? ArrayList(JSONArray)中isEmpty怎么用? ArrayList(JSONArray)中contains怎么用? ArrayList(JSONArray)中iterator怎么用? 什么是JSONArray?什么是JSONObject? 分类: java 标签:arraylistcollectionjsonarray