T - the content type.public final class TypedValue<T> extends Object implements Serializable
DataType.| Constructor and Description |
|---|
TypedValue(T value,
DataType dataType)
Constructs a new
TypedValue with the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType()
Returns the data type (if any) associated with this
TypedValue's content. |
T |
getValue() |
public TypedValue(T value, DataType dataType)
TypedValue with the given parameters.value - this object's content.dataType - the DataType for this object's content.public DataType getDataType()
TypedValue's content.DataType for this object's content.public T getValue()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.