Home
last modified time | relevance | path

Searched refs:copyFrom (Results 1 – 3 of 3) sorted by relevance

/libcore/json/src/main/java/org/json/
DJSONArray.java71 public JSONArray(Collection copyFrom) { in JSONArray() argument
73 if (copyFrom != null) { in JSONArray()
74 for (Iterator it = copyFrom.iterator(); it.hasNext();) { in JSONArray()
DJSONObject.java135 public JSONObject(@NonNull Map copyFrom) { in JSONObject() argument
137 Map<?, ?> contentsTyped = (Map<?, ?>) copyFrom; in JSONObject()
190 …public JSONObject(@NonNull JSONObject copyFrom, @NonNull String @NonNull [] names) throws JSONExce… in JSONObject() argument
193 Object value = copyFrom.opt(name); in JSONObject()
/libcore/luni/src/test/java/libcore/java/util/
DTreeMapTest.java194 HashMap<String, String> copyFrom = new HashMap<String, String>(); in testNullsWithNaturalOrder() local
195 copyFrom.put(null, "b"); in testNullsWithNaturalOrder()
197 new TreeMap<String, String>(copyFrom); in testNullsWithNaturalOrder()