Updated on 2026-08-14
This commit is contained in:
parent
5105528ddc
commit
0131e08b68
201 changed files with 600 additions and 693 deletions
|
|
@ -0,0 +1,16 @@
|
|||
package com.tangem.devkit.commons
|
||||
|
||||
/**
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface Store<M> {
|
||||
fun save(value: M)
|
||||
fun restore(): M
|
||||
}
|
||||
|
||||
interface KeyedStore<M> {
|
||||
fun save(key: String, value: M)
|
||||
fun restore(key: String): M
|
||||
fun restoreAll(): MutableMap<String, M>
|
||||
fun delete(key: String)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue