@Test public void testNext() throws Exception { assertThat("testNext iitnone 0", iitnone.next(), nullValue()); for(int i = 0; i < numitems; i++) { assertThat("testNext iitr "+i, iitr.next(), notNullValue()); } for(int i = 0; i < numitems; i++) { assertThat("testNext iitid "+i, iitid.next(), notNullValue()); } }
public Item next() throws SQLException { if (iditr != null) { return nextByID(); } else if (itemRows != null) { return nextByRow(); } return null; }
ItemIterator { public Item next() throws SQLException { if (iditr != null) { return nextByID(); } else if (itemRows != null) { return nextByRow(); } return null; } }
ItemIterator { public Item next() throws SQLException { if (iditr != null) { return nextByID(); } else if (itemRows != null) { return nextByRow(); } return null; } ItemIterator(Context context, TableRowIterator rows);  ItemIterator(Context context, List<Integer> iids); }
ItemIterator { public Item next() throws SQLException { if (iditr != null) { return nextByID(); } else if (itemRows != null) { return nextByRow(); } return null; } ItemIterator(Context context, TableRowIterator rows);  ItemIterator(Context context, List<Integer> iids); boolean hasNext(); Item next(); int nextID(); void close(); }
ItemIterator { public Item next() throws SQLException { if (iditr != null) { return nextByID(); } else if (itemRows != null) { return nextByRow(); } return null; } ItemIterator(Context context, TableRowIterator rows);  ItemIterator(Context context, List<Integer> iids); boolean hasNext(); Item next(); int nextID(); void close();  }