GeometryPlainList

public class GeometryPlainList implements IGeometryCache

Geometry cache based on plain list (ArrayList)

Fields

mVectorCacheItems

protected List<VectorCacheItem> mVectorCacheItems

Constructors

GeometryPlainList

public GeometryPlainList()

Methods

addItem

public IGeometryCacheItem addItem(long id, GeoEnvelope envelope)

changeId

public void changeId(long oldFeatureId, long newFeatureId)

clear

public void clear()

getAll

public List<IGeometryCacheItem> getAll()

getItem

public IGeometryCacheItem getItem(long featureId)

isItemExist

public boolean isItemExist(long featureId)

load

public void load(File path)

removeItem

public IGeometryCacheItem removeItem(long featureId)

save

public void save(File path)

size

public int size()