InMemoryCRUDRepository

fun <E : CRUDEntity<I, E>, out Mapper : CRUDTestMapper<I, E, *, CM, *>> InMemoryCRUDRepository(typeName: String, mapper: Mapper, duplicateCheck: BiPredicate<E, E>, vararg initialEntities: E)(source)

Parameters

I

Id type of the data

E

Entity type of the data which is a CRUDEntity

CM

Create model type of the data which is a CRUDCreateModel

Mapper

Mapper type of the data which is a CRUDTestMapper