Package com.luciad.util
Interface ILcdCache
- All Known Subinterfaces:
ILcdExtendedLineOfSightCoverage
,ILcdLineOfSightCoverage
,ILcdMultilevelRaster
,ILcdMultivaluedRaster
,ILcdRaster
- All Known Implementing Classes:
ALcd2DEditableLine
,ALcd2DEditablePolypoint
,ALcd3DEditableLine
,ALcd3DEditablePolypoint
,ALcdEarthTile
,ALcdEarthTileSetMultilevelRaster
,ALcdRaster
,ALcdShapeList
,ALcdWMSProxy
,TLcdAISPolyline
,TLcdAIXM51AbstractAIXMFeature
,TLcdAIXM51Feature
,TLcdASDIFlightPlan
,TLcdASDIFlightPlanHistory
,TLcdASDITrajectory
,TLcdAssociationBasedAirspace
,TLcdASTERIXTrajectory
,TLcdASTERIXWeatherPicture
,TLcdATSRoute
,TLcdCache
,TLcdCADRGRaster
,TLcdCGMArc
,TLcdCGMCircle
,TLcdCGMEllipse
,TLcdCGMPolygon
,TLcdCGMPolyline
,TLcdCGMText
,TLcdComplexPolygon
,TLcdCompositeCurve
,TLcdDataObjectShapeList
,TLcdDGN3DSurface
,TLcdDGNArc2D
,TLcdDGNCell
,TLcdDGNComplexChain
,TLcdDGNComplexShape
,TLcdDGNCurve2D
,TLcdDGNDimension
,TLcdDGNDisplayableTag
,TLcdDGNEllipse2D
,TLcdDGNLine2D
,TLcdDGNLineString2D
,TLcdDGNShape2D
,TLcdDGNSolid
,TLcdDGNText2D
,TLcdDGNTextNode2D
,TLcdDWGArc
,TLcdDWGBlock
,TLcdDWGCircle
,TLcdDWGCompositeCurve
,TLcdDWGCompositeRing
,TLcdDWGEllipse
,TLcdDWGFace3D
,TLcdDWGLine
,TLcdDWGPolyline2D
,TLcdDWGSolid
,TLcdDWGText
,TLcdEarthTile
,TLcdEarthTileSetElevationMultilevelRaster
,TLcdEarthTileSetMultilevelRaster
,TLcdEditableAPP6AObject
,TLcdEditableMS2525bObject
,TLcdExtrudedShape
,TLcdFeaturedAssociationBasedAirspace
,TLcdFeaturedATSRoute
,TLcdFeaturedFinalApproachPath
,TLcdFeaturedGeoborder
,TLcdFeaturedMilitaryTrainingRoute
,TLcdFeaturedMinimumSectorAltitude
,TLcdFeaturedRefuelingTrack
,TLcdFeaturedRunway
,TLcdFeaturedShapeList
,TLcdFeaturedVFROffsetRoute
,TLcdFeaturedVFRRoute
,TLcdFinalApproachPath
,TLcdGeoborder
,TLcdGeoSPOTRaster
,TLcdGML2LinearRing
,TLcdGML2LineString
,TLcdGML31LinearRing
,TLcdGML31LineString
,TLcdGML32LinearRing
,TLcdGML32LineString
,TLcdInterpolatedRaster
,TLcdKML223DModel
,TLcdKML22AbstractContainer
,TLcdKML22AbstractFeature
,TLcdKML22AbstractGeometry
,TLcdKML22AbstractOverlay
,TLcdKML22Document
,TLcdKML22Folder
,TLcdKML22GroundOverlay
,TLcdKML22IconStyle
,TLcdKML22Kml
,TLcdKML22LinearRing
,TLcdKML22LineString
,TLcdKML22Link
,TLcdKML22MultiGeometry
,TLcdKML22NetworkLink
,TLcdKML22PaintableGroundOverlay
,TLcdKML22PhotoOverlay
,TLcdKML22Placemark
,TLcdKML22Point
,TLcdKML22Polygon
,TLcdKML22Region
,TLcdKML22ScreenOverlay
,TLcdLonLatArc
,TLcdLonLatArcBand
,TLcdLonLatBuffer
,TLcdLonLatCircle
,TLcdLonLatCircleBy3Points
,TLcdLonLatCircularArcBy3Points
,TLcdLonLatCircularArcByBulge
,TLcdLonLatCircularArcByCenterPoint
,TLcdLonLatCompositeRing
,TLcdLonLatEllipse
,TLcdLonLatFloatPolygonCache
,TLcdLonLatFloatPolylineCache
,TLcdLonLatFloatPolypointCache
,TLcdLonLatGeoBuffer
,TLcdLonLatHeight3DArcBand
,TLcdLonLatHeightBuffer
,TLcdLonLatHeightLine
,TLcdLonLatHeightMPolygon
,TLcdLonLatHeightMPolyline
,TLcdLonLatHeightMPolypoint
,TLcdLonLatHeightPolygon
,TLcdLonLatHeightPolyline
,TLcdLonLatHeightPolypoint
,TLcdLonLatHeightVariableGeoBuffer
,TLcdLonLatLine
,TLcdLonLatMPolygon
,TLcdLonLatMPolyline
,TLcdLonLatMPolypoint
,TLcdLonLatPolygon
,TLcdLonLatPolyline
,TLcdLonLatPolypoint
,TLcdLonLatRhumbPolygon
,TLcdLonLatRhumbPolyline
,TLcdMeasureXYPolygon
,TLcdMeasureXYPolyline
,TLcdMeasureXYPolypoint
,TLcdMeasureXYZPolygon
,TLcdMeasureXYZPolyline
,TLcdMeasureXYZPolypoint
,TLcdMIFCollection
,TLcdMIFMultipoint
,TLcdMIFPLine
,TLcdMIFRegion
,TLcdMIFText
,TLcdMilitaryTrainingRoute
,TLcdMinimumSectorAltitude
,TLcdMultilevelRaster
,TLcdMultivaluedRaster
,TLcdNVG15Anchor
,TLcdNVG15Arc
,TLcdNVG15ArcBand
,TLcdNVG15Arrow
,TLcdNVG15Circle
,TLcdNVG15Composite
,TLcdNVG15Corridor
,TLcdNVG15Ellipse
,TLcdNVG15Group
,TLcdNVG15Multipoint
,TLcdNVG15Point
,TLcdNVG15Polygon
,TLcdNVG15Polyline
,TLcdNVG15Text
,TLcdNVG20Arc
,TLcdNVG20ArcBand
,TLcdNVG20ArcBandRing
,TLcdNVG20Arrow
,TLcdNVG20Circle
,TLcdNVG20CircularRing
,TLcdNVG20Composite
,TLcdNVG20Corridor
,TLcdNVG20Ellipse
,TLcdNVG20EllipticRing
,TLcdNVG20Group
,TLcdNVG20LinearRing
,TLcdNVG20MultiPoint
,TLcdNVG20Orbit
,TLcdNVG20Point
,TLcdNVG20Polygon
,TLcdNVG20Polyline
,TLcdNVG20Rectangle
,TLcdNVG20RectangularRing
,TLcdNVG20Text
,TLcdRaster
,TLcdRefuelingTrack
,TLcdRoundedPolygon
,TLcdRoundedPolyline
,TLcdRunway
,TLcdS57Area
,TLcdS57Edge
,TLcdS57Face
,TLcdS57Line
,TLcdSegmentBasedRoute
,TLcdShapeList
,TLcdSHPMultiPointZ
,TLcdSHPPolygonZ
,TLcdSHPPolylineZ
,TLcdSingleTileRaster
,TLcdSurface
,TLcdVFROffsetRoute
,TLcdVFRRoute
,TLcdViewshedMultilevelRaster
,TLcdWCSProxy
,TLcdXYArc
,TLcdXYArcBand
,TLcdXYCircle
,TLcdXYCircleBy3Points
,TLcdXYCircularArcBy3Points
,TLcdXYCircularArcByBulge
,TLcdXYCircularArcByCenterPoint
,TLcdXYCompositeRing
,TLcdXYEllipse
,TLcdXYFloatPolygonCache
,TLcdXYFloatPolylineCache
,TLcdXYFloatPolypointCache
,TLcdXYGeoBuffer
,TLcdXYLine
,TLcdXYMPolygon
,TLcdXYMPolyline
,TLcdXYMPolypoint
,TLcdXYPolygon
,TLcdXYPolyline
,TLcdXYPolypoint
,TLcdXYText
,TLcdXYZ3DArcBand
,TLcdXYZLine
,TLcdXYZMPolygon
,TLcdXYZMPolyline
,TLcdXYZMPolypoint
,TLcdXYZPolygon
,TLcdXYZPolyline
,TLcdXYZPolypoint
public interface ILcdCache
This interface defines methods for classes that can contain
cache information. Clients can then use this mechanism to store their own
information in objects that implement the interface.
Cached objects identified by their own keys. Each key must therefore be unique.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the cache.getCachedObject
(Object aKey) Looks up and returns the cached Object corresponding to the given key.void
insertIntoCache
(Object aKey, Object aObject) Inserts a cache Object corresponding to the given key Object.removeCachedObject
(Object aKey) Looks up and removes the cached Object corresponding to the given key.
-
Method Details
-
insertIntoCache
Inserts a cache Object corresponding to the given key Object.- Parameters:
aKey
- the key Object that will be used to identify the Object. The key must therefore be a unique identifier, typically the caller itself:insertIntoCache(this, ...)
.aObject
- the Object to be cached.
-
getCachedObject
Looks up and returns the cached Object corresponding to the given key.- Parameters:
aKey
- the key Object that was used for storing the cache Object.- Returns:
- the cached Object, or null if there is no Object corresponding to the given key.
-
removeCachedObject
Looks up and removes the cached Object corresponding to the given key.- Parameters:
aKey
- the key Object that was used for storing the cache Object.- Returns:
- the cached Object, or null if there was no Object corresponding to the given key.
-
clearCache
void clearCache()Clears the cache.
-