abstract fun <T : Cacheable> removeObject(key: String): <ERROR CLASS><T?, Boolean>
Removed a Cacheable object from the cache.
T
- the type of object removed from key
Return
A Pair of removed object and a boolean which is true if the object is removed.