ByClass

class ByClass<Output : Any>(val outputClass: ERROR CLASS: Symbol not found for 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.

Parameters

Output

The type of the output.

Constructors

Link copied to clipboard
constructor(outputClass: ERROR CLASS: Symbol not found for Class<Output>)

Properties

Link copied to clipboard
val outputClass: ERROR CLASS: Symbol not found for Class<Output>

The Class object representing the desired output type.

Link copied to clipboard
val outputTypeToken: TypeToken

TypeToken corresponding to the output type defined by outputClass.