ByClass

class ByClass<Output : Any>(val outputClass: Class<Output>) : OutputOption<Output> (source)

Represents an output option that specifies the desired output type using a Class object.

This class is a concrete implementation of the OutputOption interface and is used to define the expected type of output for a given operation.

Type Parameters

Output

The type of the output.

Constructors

Link copied to clipboard
constructor(outputClass: Class<Output>)

Properties

Link copied to clipboard

The Class object representing the desired output type.

Link copied to clipboard
val outputTypeToken: ERROR CLASS: Symbol not found for TypeToken

TypeToken corresponding to the output type defined by outputClass.