Image Icon Cache
class ImageIconCache<Key : IconKey>(resourcePath: String, resourceClass: Class<*>, softCapacity: Int = 100, strongCapacity: Int = 20)
A wrapper of an LRUCache keyed by an IconKey for storing scaled ImageIcons organized by scaled height.
Author
Richard Arriaga
Parameters
Key
The type of IconKey that represents the cache key.
resource Path
The path to the resource location
Constructors
Link copied to clipboard
constructor(resourcePath: String, resourceClass: Class<*>, softCapacity: Int = 100, strongCapacity: Int = 20)
Construct an ImageIconCache.