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