public JSONObject next() { try { if (activeResultSet != null) { String json = TwitterObjectFactory.getRawJSON(activeResultSet.get(i)); return JSON.parse(json); } } catch (IndexOutOfBoundsException e) { return null; } catch (JSONException e) { return null; } return null; }