SequenceIterationStatus implements Serializable { public int getIndex() { return index; } SequenceIterationStatus(Integer begin, Integer end, int index, Integer rowCount); Integer getBegin(); int getCount(); Object getCurrent(); Integer getEnd(); int getIndex(); Integer getStep(); boolean isFirst(); boolean isLast(); Integer getRowCount(); boolean isEven(); boolean isOdd(); @Override String toString();  }
@Test public void testGetIndex() throws Exception { SequenceIterationStatus s1 = new SequenceIterationStatus(0, 100, 30, 200); assertTrue(30 == s1.getIndex()); SequenceIterationStatus s2 = new SequenceIterationStatus(0, 400, 100, 150); assertTrue(100 == s2.getIndex()); }