public class TileLRUMember extends java.lang.Object implements LRUCache.LRUObj
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.image.Raster |
hRaster |
protected LRUCache.LRUNode |
myNode |
protected java.lang.ref.Reference |
wRaster |
| Constructor and Description |
|---|
TileLRUMember() |
TileLRUMember(java.awt.image.Raster ras) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkRaster() |
LRUCache.LRUNode |
lruGet()
Called to get the LRU node for this object.
|
void |
lruRemove()
Called to inform the object that it is no longer in the cache.
|
void |
lruSet(LRUCache.LRUNode nde)
Called when the object first becomes active in the LRU cache.
|
java.awt.image.Raster |
retrieveRaster() |
void |
setRaster(java.awt.image.Raster ras) |
protected LRUCache.LRUNode myNode
protected java.lang.ref.Reference wRaster
protected java.awt.image.Raster hRaster
public TileLRUMember()
public TileLRUMember(java.awt.image.Raster ras)
public void setRaster(java.awt.image.Raster ras)
public boolean checkRaster()
public java.awt.image.Raster retrieveRaster()
public LRUCache.LRUNode lruGet()
LRUCache.LRUObjlruGet in interface LRUCache.LRUObjpublic void lruSet(LRUCache.LRUNode nde)
LRUCache.LRUObjlruSet in interface LRUCache.LRUObjnde - The LRU cache node associated with this object.
should be remembered so it can be returned by
lruGet.public void lruRemove()
LRUCache.LRUObjlruRemove in interface LRUCache.LRUObjCopyright ? 2009 Apache Software Foundation. All Rights Reserved.