put

fun put(key: String, value: T)(source)

按 ID 注册或替换实体。 / Registers or replaces an entity by ID.