withInput

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

clazz

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

Type Parameters

Input

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


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

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

typeToken

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

Type Parameters

Input

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