core
Toggle table of contents
1.1.18
common
Target filter
common
Switch theme
Search in API
Skip to content
core
core
/
net.zagart.storage
/
Snapshot
Snapshot
data
class
Snapshot
(
val
values
:
Map
<
String
,
Entry
>
)
Members
Constructors
Snapshot
Link copied to clipboard
constructor
(
values
:
Map
<
String
,
Entry
>
)
Properties
values
Link copied to clipboard
val
values
:
Map
<
String
,
Entry
>
Functions
contains
Key
Link copied to clipboard
fun
containsKey
(
key
:
String
)
:
Boolean
get
Boolean
Link copied to clipboard
fun
getBoolean
(
key
:
String
,
defaultValue
:
Boolean
=
false
)
:
Boolean
get
Double
Link copied to clipboard
fun
getDouble
(
key
:
String
,
defaultValue
:
Double
=
0.0
)
:
Double
get
Float
Link copied to clipboard
fun
getFloat
(
key
:
String
,
defaultValue
:
Float
=
0.0f
)
:
Float
get
Int
Link copied to clipboard
fun
getInt
(
key
:
String
,
defaultValue
:
Int
=
0
)
:
Int
get
Long
Link copied to clipboard
fun
getLong
(
key
:
String
,
defaultValue
:
Long
=
0
)
:
Long
get
String
Link copied to clipboard
fun
getString
(
key
:
String
,
defaultValue
:
String
=
""
)
:
String
is
Empty
Link copied to clipboard
fun
isEmpty
(
)
:
Boolean
keys
Link copied to clipboard
fun
keys
(
)
:
Set
<
String
>