AbstractShapeFileReader extends AbstractCommonShapeFileReader<E> { @Override public boolean isSeekEnabled() { return this.shxReader != null && super.isSeekEnabled(); } AbstractShapeFileReader(ReadableByteChannel inputStream, DBaseFileReader dbase_importer,
			ShapeFileIndexReader shxReader);  AbstractShapeFileReader(InputStream inputStream, DBaseFileReader dbase_importer, ShapeFileIndexReader shxReader);  AbstractShapeFileReader(File file, DBaseFileReader dbase_importer, ShapeFileIndexReader shxReader);  AbstractShapeFileReader(URL inputStream, DBaseFileReader dbase_importer,
			ShapeFileIndexReader shxReader); @Override void close(); @Override void seek(int recordIndex); @Override boolean isSeekEnabled(); static final double DEFAULT_FUSION_DISTANCE; }
@Test public void testIsSeekEnabled_noshx() throws Exception { AbstractShapeFileReader<Integer> reader = createNoShx(); assertFalse(reader.isSeekEnabled()); reader.disableSeek(); assertFalse(reader.isSeekEnabled()); }
@Test public void testIsSeekEnabled_shx() throws Exception { AbstractShapeFileReader<Integer> reader = createShx(); assertTrue(reader.isSeekEnabled()); reader.disableSeek(); assertFalse(reader.isSeekEnabled()); }