Searched refs:copyFrom (Results 1 – 3 of 3) sorted by relevance
71 public JSONArray(Collection copyFrom) { in JSONArray() argument73 if (copyFrom != null) { in JSONArray()74 for (Iterator it = copyFrom.iterator(); it.hasNext();) { in JSONArray()
135 public JSONObject(@NonNull Map copyFrom) { in JSONObject() argument137 Map<?, ?> contentsTyped = (Map<?, ?>) copyFrom; in JSONObject()190 …public JSONObject(@NonNull JSONObject copyFrom, @NonNull String @NonNull [] names) throws JSONExce… in JSONObject() argument193 Object value = copyFrom.opt(name); in JSONObject()
194 HashMap<String, String> copyFrom = new HashMap<String, String>(); in testNullsWithNaturalOrder() local195 copyFrom.put(null, "b"); in testNullsWithNaturalOrder()197 new TreeMap<String, String>(copyFrom); in testNullsWithNaturalOrder()