parameterized Type Of
open fun parameterizedTypeOf(parameterizedType: TypeOf<out Any>, typeArguments: Array<TypeOf<out Any>>): TypeOf<out Any>(source)
Constructs a new parameterized type from a given parameterized type definition and an array of type arguments. For example, parameterizedTypeOf(new TypeOf<List<?>>() {}, new TypeOf<String>() {})
is equivalent to new TypeOf<List<String>>() {}
, except both the parameterized type definition and type arguments can be dynamically computed.
Parameters
parameterized Type
the parameterized type from which to construct the new parameterized type
type Arguments
the arguments with which to construct the new parameterized type