withInput

fun <Input : Any> withInput(clazz: ERROR CLASS: Symbol not found for Class<Input>): TypedCompressHistoryNodeBuilder<Input>(source)

Configures the current CompressHistoryNodeBuilder with a specific input type, returning a new TypedCompressHistoryNodeBuilder specialized for the provided type.

Return

A new instance of TypedCompressHistoryNodeBuilder configured with the specified input type.

Parameters

Input

The type of input to be associated with the resulting TypedCompressHistoryNodeBuilder. It must be a non-nullable type.

clazz

The Class object representing the input type to associate with the builder.


Configures the current CompressHistoryNodeBuilder with a specific input type using a TypeToken, returning a new TypedCompressHistoryNodeBuilder specialized for the provided type.

Return

A new instance of TypedCompressHistoryNodeBuilder configured with the specified input type.

Parameters

Input

The type of input to be associated with the resulting TypedCompressHistoryNodeBuilder. It must be a non-nullable type.

typeToken

The TypeToken representing the input type to associate with the builder.