ids = new long[idList.length()];
for (int i = 0; i < idList.length(); i++) {
try {
ids[i] = Long.parseLong(idList.getString(i));
} catch (NumberFormatException nfe) {
throw new TwitterException("Twitter API returned malformed response: " + json, nfe);
}
}
previousCursor = z_T4JInternalParseUtil.getLong("previous_cursor", json);
nextCursor = z_T4JInternalParseUtil.getLong("next_cursor", json);
} else {
idList = new JSONArray(jsonStr);
ids = new long[idList.length()];
for (int i = 0; i < idList.length(); i++) {
try {
ids[i] = Long.parseLong(idList.getString(i));
} catch (NumberFormatException nfe) {
throw new TwitterException("Twitter API returned malformed response: " + idList, nfe);
}
}
}
} catch (JSONException jsone) {
throw new TwitterException(jsone);
}
}