toggle menu
kvcache
androidJvm
switch theme
search in API
kvcache
/
com.king.kvcache
/
KVCache
/
Companion
/
getLong
get
Long
@
JvmStatic
fun
getLong
(
key
:
String
)
:
Long
根据
key
获取缓存的值,如果未获取到,则返回默认值:0
Parameters
key
键
@
JvmStatic
open
override
fun
getLong
(
key
:
String
,
defValue
:
Long
)
:
Long
根据
key
获取缓存的值,如果未获取到,则返回默认值
defValue
Parameters
key
键
def
Value
默认值