zircon.core
/
org.hexworks.zircon.api.util
/
DefaultCache
jvm
Default
Cache
class
DefaultCache
<
R
:
Cacheable
>(maximumSize:
Long
, duration:
Long
, timeUnit:
TimeUnit
) :
Cache
<
R
>
Content copied to clipboard
Functions
Sources
Functions
equals
Link copied to clipboard
jvm
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
jvm
open fun
hashCode
():
Int
Content copied to clipboard
retrieveIfPresent
Link copied to clipboard
jvm
open override fun
retrieveIfPresent
(key:
String
):
Maybe
<
R
>
Content copied to clipboard
Retrieves a tileset region by a
key
if present.
store
Link copied to clipboard
jvm
open override fun
store
(key:
String
, obj:
R
):
R
Content copied to clipboard
Caches the given object and then returns it.
toString
Link copied to clipboard
jvm
open fun
toString
():
String
Content copied to clipboard
Sources
(source)
Link copied to clipboard