Revision 43088 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureSet.java
FeatureSet.java | ||
---|---|---|
228 | 228 |
*/ |
229 | 229 |
boolean isEmpty() throws DataException; |
230 | 230 |
|
231 |
/** |
|
232 |
* Return the first feature of the set. |
|
233 |
* If the set is empty return null. |
|
234 |
* |
|
235 |
* This not is a good method to determine if the set is empty. |
|
236 |
* Use isEmpty instead. |
|
237 |
* |
|
238 |
* This is a utility method that call iterator and retrieve the |
|
239 |
* first feature of the iterator. |
|
240 |
* |
|
241 |
* @return the first fearure of the set or null. |
|
242 |
*/ |
|
243 |
public Feature first(); |
|
244 |
|
|
231 | 245 |
/** |
232 | 246 |
* Updates a {@link Feature} with the given {@link EditableFeature}.<br> |
233 | 247 |
* |
Also available in: Unified diff