Revision 27525 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/featureset/DefaultFeatureSet.java

View differences:

DefaultFeatureSet.java
8 8

  
9 9
import org.gvsig.fmap.dal.DataStore;
10 10
import org.gvsig.fmap.dal.exception.DataException;
11
import org.gvsig.fmap.dal.feature.DisposableIterator;
11 12
import org.gvsig.fmap.dal.feature.EditableFeature;
12 13
import org.gvsig.fmap.dal.feature.Feature;
13 14
import org.gvsig.fmap.dal.feature.FeatureQuery;
......
293 294
		return this.provider.isEmpty();
294 295
	}
295 296

  
296
	public Iterator fastIterator() throws DataException {
297
	public DisposableIterator fastIterator() throws DataException {
297 298
		return this.fastIterator(0);
298 299
	}
299 300

  
300
	public Iterator fastIterator(long index) throws DataException {
301
	public DisposableIterator fastIterator(long index) throws DataException {
301 302
		if (index < 0) {
302 303
			throw new IndexOutOfBoundsException("The index (" + index
303 304
					+ ") is less than 0");
......
340 341
		}
341 342
	}
342 343

  
343
	public Iterator iterator() throws DataException {
344
	public DisposableIterator iterator() throws DataException {
344 345
		return this.iterator(0);
345 346
	}
346 347

  
347
	public Iterator iterator(long index) throws DataException {
348
	public DisposableIterator iterator(long index) throws DataException {
348 349
		if (index < 0) {
349 350
			throw new IndexOutOfBoundsException("The index (" + index
350 351
					+ ") is less than 0");

Also available in: Unified diff