OutputVariable<T> Class 
	- java.lang. Object 
- com.microsoft. semantickernel. semanticfunctions. OutputVariable<T> 
 
- com.
Type Parameters
- T
- The type of the output variable. 
public class OutputVariable<T>
Metadata for an output variable of a kernel function.
Constructor Summary
| Constructor | Description | 
|---|---|
| OutputVariable(String description, Class<T> type) | Constructor. | 
| OutputVariable(String type, String description) | Constructor. | 
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| java.lang.String | getDescription() Get the description of the output variable. | 
| java.lang.Class<?> | getType() Get the type of the output variable. | 
| int | hashCode() | 
Methods inherited from java.lang.Object
Constructor Details
OutputVariable
public OutputVariable(String description, Class
Constructor.
Parameters:
OutputVariable
public OutputVariable(String type, String description)
Constructor.
Parameters:
Method Details
equals
public boolean equals(Object obj)
Overrides:
OutputVariable<T>.equals(Object obj)Parameters:
getDescription
public String getDescription()
Get the description of the output variable.
Returns:
getType
public Class getType()
Get the type of the output variable.
Returns:
hashCode
public int hashCode()
Overrides:
OutputVariable<T>.hashCode()