@Test public void testHasNext() throws MalformedURLException, IOException { FidIndexer.generate(backshp.toURI().toURL()); initWriter(); for (int i = 1, j = indexFile.getRecordCount(); i < j; i++) { assertTrue(i + "th record", writer.hasNext()); assertEquals((long) i, writer.next()); } }
public boolean hasNext() throws IOException { return reader.hasNext(); }
IndexedFidWriter implements FileWriter { public boolean hasNext() throws IOException { return reader.hasNext(); } }
IndexedFidWriter implements FileWriter { public boolean hasNext() throws IOException { return reader.hasNext(); } IndexedFidWriter(ShpFiles shpFiles);  IndexedFidWriter(ShpFiles shpFiles, StorageFile storageFile); private  IndexedFidWriter(); }
IndexedFidWriter implements FileWriter { public boolean hasNext() throws IOException { return reader.hasNext(); } IndexedFidWriter(ShpFiles shpFiles);  IndexedFidWriter(ShpFiles shpFiles, StorageFile storageFile); private  IndexedFidWriter(); boolean hasNext(); long next(); void close(); void remove(); void write(); boolean isClosed(); String id(); }
IndexedFidWriter implements FileWriter { public boolean hasNext() throws IOException { return reader.hasNext(); } IndexedFidWriter(ShpFiles shpFiles);  IndexedFidWriter(ShpFiles shpFiles, StorageFile storageFile); private  IndexedFidWriter(); boolean hasNext(); long next(); void close(); void remove(); void write(); boolean isClosed(); String id(); static final int HEADER_SIZE; static final int RECORD_SIZE; static final IndexedFidWriter EMPTY_WRITER; }