collect

abstract fun <Value : Any> collect(allOf: KClass<Value>): List<Value>