setContent

fun setContent(element: E)

Set the content of the compound to this single element.

fun setContent(elements: Iterable<E>)

Set the content of the compound to these elements.