Class TileMap
- java.lang.Object
-
- org.apache.batik.ext.awt.image.rendered.TileMap
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TileMap.TileMapLRUMember
-
Constructor Summary
Constructors Constructor Description TileMap(TileGenerator source, LRUCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.Raster
getTile(int x, int y)
java.awt.image.Raster
getTileNoCompute(int x, int y)
void
setTile(int x, int y, java.awt.image.Raster ras)
-
-
-
Field Detail
-
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
-
COUNT
private static final boolean COUNT
- See Also:
- Constant Field Values
-
rasters
private java.util.HashMap rasters
-
source
private TileGenerator source
-
cache
private LRUCache cache
-
requests
static int requests
-
misses
static int misses
-
-
Constructor Detail
-
TileMap
public TileMap(TileGenerator source, LRUCache cache)
-
-
Method Detail
-
setTile
public void setTile(int x, int y, java.awt.image.Raster ras)
-
getTileNoCompute
public java.awt.image.Raster getTileNoCompute(int x, int y)
- Specified by:
getTileNoCompute
in interfaceTileStore
-
-