@Test public void testCreateWithBaseDir() { LogGeneration generation = new LogGeneration(new File("data"), 10); Assert.assertEquals(10, generation.getLastIncludedIndex()); Assert.assertEquals("log-10", generation.get().getName()); }
public int getLastIncludedIndex() { return lastIncludedIndex; }
LogGeneration extends AbstractLogDir implements Comparable<LogGeneration> { public int getLastIncludedIndex() { return lastIncludedIndex; } }
LogGeneration extends AbstractLogDir implements Comparable<LogGeneration> { public int getLastIncludedIndex() { return lastIncludedIndex; } LogGeneration(File baseDir, int lastIncludedIndex);   LogGeneration(File dir); }
LogGeneration extends AbstractLogDir implements Comparable<LogGeneration> { public int getLastIncludedIndex() { return lastIncludedIndex; } LogGeneration(File baseDir, int lastIncludedIndex);   LogGeneration(File dir); int getLastIncludedIndex(); @Override int compareTo(@Nonnull LogGeneration o); @Override String toString(); }
LogGeneration extends AbstractLogDir implements Comparable<LogGeneration> { public int getLastIncludedIndex() { return lastIncludedIndex; } LogGeneration(File baseDir, int lastIncludedIndex);   LogGeneration(File dir); int getLastIncludedIndex(); @Override int compareTo(@Nonnull LogGeneration o); @Override String toString();  }