@Test public void testPrevious1() throws Exception{ BatchResults batchResults = getBatchResults(createEmptyBatch(), false); assertFalse(batchResults.previous()); }
public boolean previous() { if (hasPrevious()) { setCurrentRowNumber(this.currentRowNumber - 1); return true; } if (this.currentRowNumber == 1) { setCurrentRowNumber(this.currentRowNumber - 1); } return false; }
BatchResults { public boolean previous() { if (hasPrevious()) { setCurrentRowNumber(this.currentRowNumber - 1); return true; } if (this.currentRowNumber == 1) { setCurrentRowNumber(this.currentRowNumber - 1); } return false; } }
BatchResults { public boolean previous() { if (hasPrevious()) { setCurrentRowNumber(this.currentRowNumber - 1); return true; } if (this.currentRowNumber == 1) { setCurrentRowNumber(this.currentRowNumber - 1); } return false; } BatchResults(BatchFetcher batchFetcher, Batch batch, int savedBatches); }
BatchResults { public boolean previous() { if (hasPrevious()) { setCurrentRowNumber(this.currentRowNumber - 1); return true; } if (this.currentRowNumber == 1) { setCurrentRowNumber(this.currentRowNumber - 1); } return false; } BatchResults(BatchFetcher batchFetcher, Batch batch, int savedBatches); List<?> getCurrentRow(); boolean next(); boolean hasPrevious(); boolean previous(); void setBatchFetcher(BatchFetcher batchFetcher); boolean absolute(int row); boolean absolute(int row, int offset); int getCurrentRowNumber(); boolean hasNext(); Boolean hasNext(int next, boolean wait); int getFinalRowNumber(); int getHighestRowNumber(); boolean isTailLast(); }
BatchResults { public boolean previous() { if (hasPrevious()) { setCurrentRowNumber(this.currentRowNumber - 1); return true; } if (this.currentRowNumber == 1) { setCurrentRowNumber(this.currentRowNumber - 1); } return false; } BatchResults(BatchFetcher batchFetcher, Batch batch, int savedBatches); List<?> getCurrentRow(); boolean next(); boolean hasPrevious(); boolean previous(); void setBatchFetcher(BatchFetcher batchFetcher); boolean absolute(int row); boolean absolute(int row, int offset); int getCurrentRowNumber(); boolean hasNext(); Boolean hasNext(int next, boolean wait); int getFinalRowNumber(); int getHighestRowNumber(); boolean isTailLast();  }