Revision 34827 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/FeatureSet.java

View differences:

FeatureSet.java
7 7
import org.gvsig.tools.dispose.DisposableIterator;
8 8
import org.gvsig.tools.dynobject.DynObject;
9 9
import org.gvsig.tools.dynobject.DynObjectSet;
10
import org.gvsig.tools.exception.BaseException;
10 11
import org.gvsig.tools.visitor.IndexedVisitable;
12
import org.gvsig.tools.visitor.Visitor;
11 13

  
12 14
/**
13 15
 * A FeatureSet represents a set of {@link Feature}(s). These sets of features
......
250 252
     */
251 253
    public DynObjectSet getDynObjectSet(boolean fast);
252 254

  
255
    /**
256
     * Provides each value of this Store to the provided {@link Visitor},
257
     * beginning from the provided index position.
258
     * The values received through the {@link Visitor#visit(Object)} method
259
     * may be transient, reused or externally modifiable, so they can't
260
     * be used to be stored in any external form out of the visit method.
261
     * 
262
     * If you need to store any of the values out of the
263
     * {@link Visitor#visit(Object)} method execution, create a copy or clone
264
     * the received value in order to be stored.
265
     * 
266
     * @param visitor
267
     *            the visitor to apply to each value.
268
     * @param firstValueIndex
269
     *            index of first element to be visited by the {@link Visitor}
270
     * @exception BaseException
271
     *                if there is an error while performing the visit
272
     */
273
    void accept(Visitor visitor, long firstValueIndex) throws BaseException;
253 274
}

Also available in: Unified diff