toDomainObjectSet

open fun <T> toDomainObjectSet(type: Class<T>, items: Array<T>): DomainObjectSet<T>

Wraps the given items in a mutable domain object set.