marstran
10/18/2017, 12:15 PMwhere
clause: inline fun <reified E> lookupRealmObject(...)
where E : RealmObject,
E : ObjectWithId {
// ...
}
You can read about it in the docs here: https://kotlinlang.org/docs/reference/generics.html#generic-constraints