gov.nasa.worldwind.cache
Class BasicTextureCache
java.lang.Object
gov.nasa.worldwind.cache.BasicTextureCache
- All Implemented Interfaces:
- TextureCache
public class BasicTextureCache
- extends Object
- implements TextureCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTextureCache
public BasicTextureCache(long loWater,
long hiWater)
clear
public void clear()
- Specified by:
clear
in interface TextureCache
contains
public boolean contains(Object key)
- Specified by:
contains
in interface TextureCache
get
public Texture get(Object key)
- Specified by:
get
in interface TextureCache
getCapacity
public long getCapacity()
- Specified by:
getCapacity
in interface TextureCache
getFreeCapacity
public long getFreeCapacity()
- Specified by:
getFreeCapacity
in interface TextureCache
getNumObjects
public int getNumObjects()
- Specified by:
getNumObjects
in interface TextureCache
getUsedCapacity
public long getUsedCapacity()
- Specified by:
getUsedCapacity
in interface TextureCache
put
public void put(Object key,
Texture texture)
- Specified by:
put
in interface TextureCache
remove
public void remove(Object key)
- Specified by:
remove
in interface TextureCache