Revision 20293
trunk/libraries/libDataSourceBaseDrivers/src/org/gvsig/data/datastores/vectorial/base/MemoryStore.java | ||
---|---|---|
58 | 58 |
private ArrayList arrayFeatures = new ArrayList(); |
59 | 59 |
private IExtent fullExtent; |
60 | 60 |
|
61 |
public void addFeature(IFeature feature){
|
|
61 |
protected void addFeature(IFeature feature){
|
|
62 | 62 |
arrayFeatures.add(feature); |
63 | 63 |
IExtent boundsShp=(IExtent)feature.getExtent(); |
64 | 64 |
if (fullExtent == null) { |
... | ... | |
67 | 67 |
fullExtent.add(boundsShp); |
68 | 68 |
} |
69 | 69 |
} |
70 |
public IFeature getFeature(int index) {
|
|
70 |
protected IFeature getFeature(int index) {
|
|
71 | 71 |
IFeature feature = (IFeature) arrayFeatures.get(index); |
72 | 72 |
|
73 | 73 |
return feature; |
74 | 74 |
} |
75 | 75 |
|
76 |
public long getFeatureCount() {
|
|
76 |
protected long getFeatureCount() {
|
|
77 | 77 |
return arrayFeatures.size(); |
78 | 78 |
} |
79 | 79 |
|
Also available in: Unified diff