Lines Matching refs:names
84 * {@code null}, names with this value:
86 * <li>show up in the {@link #names} array
175 * Creates a new {@code JSONObject} by copying mappings for the listed names
179 public JSONObject(JSONObject copyFrom, String[] names) throws JSONException {
181 for (String name : names) {
587 * Returns an array with the values corresponding to {@code names}. The
588 * array contains null for names that aren't mapped. This method returns
589 * null if {@code names} is either null or empty.
591 public JSONArray toJSONArray(JSONArray names) throws JSONException {
593 if (names == null) {
596 int length = names.length();
601 String name = JSON.toString(names.opt(i));
608 * Returns an iterator of the {@code String} names in this object. The
620 * Returns an array containing the string names in this object. This method
623 public JSONArray names() {