ContextVariableTypeConverter.DefaultConverter<T,U> Class

  • java.lang.Object
    • com.microsoft.semantickernel.contextvariables.ContextVariableTypeConverter.DefaultConverter<T,U>

Type Parameters

T

the source type

U

the target type

Implements

Converter<T,U>

public abstract static class ContextVariableTypeConverter.DefaultConverter<T,U>
implements Converter<T,U>

A base class for concrete implementations of ContextVariableTypeConverter.Converter<T,U>.

Constructor Summary

Modifier Constructor Description
protected DefaultConverter(Class<T> sourceType, Class<U> targetType)

Method Summary

Modifier and Type Method and Description
java.lang.Class<U> getTargetType()

Get the class of the target type.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DefaultConverter

protected DefaultConverter(Class sourceType, Class targetType)

Parameters:

sourceType
targetType

Method Details

getTargetType

public Class getTargetType()

Get the class of the target type.

Applies to