LRUCache

com.github.cloudfiles.core.utils.LRUCache
See theLRUCache companion class
object LRUCache

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LRUCache.type

Members list

Value members

Concrete methods

def apply[K, V](capacity: Int): LRUCache[K, V]

Creates a new instance of ''LRUCache'' with the given capacity.

Creates a new instance of ''LRUCache'' with the given capacity.

Type parameters

K

the type of keys

V

the type of values

Value parameters

capacity

the capacity

Attributes

Returns

the newly created instance