core
/
io.karte.android.core.repository
/
Repository
Repository
interface
Repository
Content copied to clipboard
リポジトリに対するデータの読み書き等の操作を表現するインターフェースです。
Functions
Functions
equals
Link copied to clipboard
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
get
Link copied to clipboard
abstract fun <
T
>
get
(key:
String
, default:
T
):
T
Content copied to clipboard
リポジトリに存在するデータを取得します。
hashCode
Link copied to clipboard
open fun
hashCode
():
Int
Content copied to clipboard
put
Link copied to clipboard
abstract fun <
T
>
put
(key:
String
, value:
T
)
Content copied to clipboard
リポジトリにデータを追加します。
remove
Link copied to clipboard
abstract fun
remove
(key:
String
)
Content copied to clipboard
リポジトリから指定したデータを削除します。
removeAll
Link copied to clipboard
abstract fun
removeAll
()
Content copied to clipboard
リポジトリから全てのデータを削除します。
toString
Link copied to clipboard
open fun
toString
():
String
Content copied to clipboard