Newer
Older
MonCalc / app / src / main / kotlin / jackall / moncalc / db / RealmHelper.kt
package jackall.moncalc.db

import io.realm.Realm
import io.realm.RealmObject

/**
 * Created by matsumoto_k on 2017/11/02.
 */
abstract class RealmHelper<T : RealmObject> {
    abstract fun insert(mRealm: Realm, realmObject: T)
    abstract fun insert(mRealm: Realm, realmObjects: List<T>)
    abstract fun findAll(mRealm: Realm): List<T>
}