|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.textures.cache.TextureCache
org.jagatoo.loaders.textures.cache.WeakLinkedTextureCache
public class WeakLinkedTextureCache
Insert type comment here.
| Constructor Summary | |
|---|---|
WeakLinkedTextureCache()
|
|
| Method Summary | |
|---|---|
void |
addImpl(java.lang.String key,
AbstractTexture texture)
Removes the Texture from the cache. |
void |
clear()
Clears the Texture-cache. |
AbstractTexture |
get(java.lang.String key)
|
java.util.Collection<AbstractTexture> |
getCachedTextures()
|
void |
removeImpl(AbstractTexture texture)
Removes the Texture from the cache. |
| Methods inherited from class org.jagatoo.loaders.textures.cache.TextureCache |
|---|
add, getCachedKeys, isEnabled, popEnabled, pushEnabled, remove, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeakLinkedTextureCache()
| Method Detail |
|---|
public void addImpl(java.lang.String key,
AbstractTexture texture)
addImpl in class TextureCachekey - the cache-key of the Texture to be removed.public void removeImpl(AbstractTexture texture)
removeImpl in class TextureCachetexture - the Texture to be removedpublic AbstractTexture get(java.lang.String key)
get in class TextureCachepublic java.util.Collection<AbstractTexture> getCachedTextures()
getCachedTextures in class TextureCachepublic void clear()
clear in class TextureCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||