set

fun set(obj: T)

Sets the given object. If the object has already been set, an exception is thrown.