https://kotlinlang.org logo
t

teedee

01/28/2017, 11:28 AM
I've gone with a file private concurrent hash map that takes the receiver as key and the object to cache as value. It feels kind of dirty but I really do not want to put the functions into a class just to have caching.