@Test(expected = IllegalStateException.class) public void testGetMinEntryIndexEmpty() throws IOException { EntryIndexFile file = new EntryIndexFile(new ByteArraySeekableFile()); file.getMinEntryIndex(); }
public int getMinEntryIndex() { checkEmpty(); return minEntryIndex; }
EntryIndexFile implements Iterable<EntryIndexItem> { public int getMinEntryIndex() { checkEmpty(); return minEntryIndex; } }
EntryIndexFile implements Iterable<EntryIndexItem> { public int getMinEntryIndex() { checkEmpty(); return minEntryIndex; } EntryIndexFile(File file);  EntryIndexFile(SeekableFile seekableFile); }
EntryIndexFile implements Iterable<EntryIndexItem> { public int getMinEntryIndex() { checkEmpty(); return minEntryIndex; } EntryIndexFile(File file);  EntryIndexFile(SeekableFile seekableFile); boolean isEmpty(); int getMinEntryIndex(); int getMaxEntryIndex(); int getEntryIndexCount(); void appendEntryIndex(int index, long offset, int kind, int term); void clear(); void removeAfter(int newMaxEntryIndex); long getOffset(int entryIndex); @Nonnull EntryIndexItem get(int entryIndex); @Override @Nonnull Iterator<EntryIndexItem> iterator(); void close(); }
EntryIndexFile implements Iterable<EntryIndexItem> { public int getMinEntryIndex() { checkEmpty(); return minEntryIndex; } EntryIndexFile(File file);  EntryIndexFile(SeekableFile seekableFile); boolean isEmpty(); int getMinEntryIndex(); int getMaxEntryIndex(); int getEntryIndexCount(); void appendEntryIndex(int index, long offset, int kind, int term); void clear(); void removeAfter(int newMaxEntryIndex); long getOffset(int entryIndex); @Nonnull EntryIndexItem get(int entryIndex); @Override @Nonnull Iterator<EntryIndexItem> iterator(); void close();  }