root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / FeatureSet.java @ 24496
History | View | Annotate | Download (1.5 KB)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.feature; |
---|---|---|---|
2 | 19399 | vcaballero | |
3 | 23754 | jjdelcerro | import java.util.Iterator; |
4 | import java.util.List; |
||
5 | |||
6 | 24496 | jmvivo | import org.gvsig.fmap.dal.DataSet; |
7 | import org.gvsig.fmap.dal.exceptions.DataException; |
||
8 | 19399 | vcaballero | |
9 | 23842 | jjdelcerro | public interface FeatureSet extends DataSet { |
10 | 19399 | vcaballero | |
11 | 23754 | jjdelcerro | public FeatureType getDefaultFeatureType();
|
12 | public List getFeatureTypes(); |
||
13 | 23820 | jjdelcerro | public long getSize() throws DataException; |
14 | 19399 | vcaballero | |
15 | 23754 | jjdelcerro | /**
|
16 | * Returns an iterator over the elements in this collection, in the order
|
||
17 | * (if any) defined when the collection was obtained.
|
||
18 | *
|
||
19 | * The iterator starts at the specified position in this collection. The
|
||
20 | * specified index indicates the first element that would be returned by an
|
||
21 | * initial call to the <tt>next</tt> method. An initial call to the
|
||
22 | * <tt>previous</tt> method would return the element with the specified
|
||
23 | * index minus one.
|
||
24 | *
|
||
25 | * @param index
|
||
26 | * index of first element to be returned from the iterator (by a
|
||
27 | * call to the <tt>next</tt> method).
|
||
28 | * @return an iterator of the elements in this collection (in proper
|
||
29 | * sequence), starting at the specified position in the collection.
|
||
30 | * @throws IndexOutOfBoundsException
|
||
31 | * if the index is out of range (index < 0 || index >
|
||
32 | * size()).
|
||
33 | */
|
||
34 | 23894 | jjdelcerro | Iterator iterator(long index) throws DataException; |
35 | 23820 | jjdelcerro | |
36 | 23894 | jjdelcerro | Iterator iterator() throws DataException; |
37 | 23820 | jjdelcerro | |
38 | boolean isEmpty() throws DataException; |
||
39 | 23894 | jjdelcerro | public Iterator fastIterator() throws DataException; |
40 | |||
41 | public Iterator fastIterator(long index) throws DataException; |
||
42 | 19399 | vcaballero | } |