Revision 43358 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.spi/src/main/java/org/gvsig/fmap/dal/feature/spi/AbstractFeatureSetProvider.java

View differences:

AbstractFeatureSetProvider.java
89 89
		return featureType;
90 90
	}
91 91

  
92
    @Override
92 93
	public final DisposableIterator fastIterator() throws DataException {
93 94
		return fastIterator(0);
94 95
	}
......
98 99
		return createFastIterator(index);
99 100
	}
100 101

  
102
    @Override
103
    public final DisposableIterator fastIterator(long index, long elements) throws DataException {
104
		return createFastIterator(index, elements);
105
	}
106

  
107
    @Override
101 108
	public final DisposableIterator iterator() throws DataException {
102 109
		return iterator(0);
103 110
	}
......
106 113
		return createIterator(index);
107 114
	}
108 115

  
116
    @Override
117
	public final DisposableIterator iterator(long index, long elements) throws DataException {
118
		return createIterator(index, elements);
119
	}
120

  
109 121
	/**
110 122
	 * Creates a new {@link Iterator}, begginning at the specified data index.
111 123
	 * 
......
119 131
	protected abstract AbstractFeatureProviderIterator createIterator(long index)
120 132
			throws DataException;
121 133

  
122
	/**
134
	protected AbstractFeatureProviderIterator createIterator(long index, long elements)
135
			throws DataException {
136
            return createIterator(index);
137
    }
138

  
139
    /**
123 140
	 * Creates a new fast {@link Iterator}, begginning at the specified data
124 141
	 * index. By fast this means the object instances of data (
125 142
	 * {@link FeatureProvider}) may be reused between the
......
134 151
	 */
135 152
	protected abstract AbstractFeatureProviderIterator createFastIterator(
136 153
			long index) throws DataException;
154
        
155
	protected AbstractFeatureProviderIterator createFastIterator(
156
			long index, long elements) throws DataException {
157
            return createFastIterator(index);
158
        }
137 159
}

Also available in: Unified diff