suparnatural-cache / com.suparnatural.core.cache / RobinHoodProbingCache / addObject

addObject

fun <T : Cacheable> addObject(obj: T): Boolean

Overrides Cache.addObject

Adds a Cacheable object to the cache. The cache key is retrieved by calling Cacheable.cacheKey method.

Parameters

T - the type of object being added.