Class TypeUnsafeVariantOperations
java.lang.Object
org.pipservices3.expressions.variants.AbstractVariantOperations
org.pipservices3.expressions.variants.TypeUnsafeVariantOperations
- All Implemented Interfaces:
IVariantOperations
Implements a type unsafe variant operations manager object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(Variant value, VariantType newType) Converts variant to specified type
-
Constructor Details
-
TypeUnsafeVariantOperations
public TypeUnsafeVariantOperations()
-
-
Method Details
-
convert
Converts variant to specified type- Specified by:
convert
in interfaceIVariantOperations
- Specified by:
convert
in classAbstractVariantOperations
- Parameters:
value
- A variant value to be converted.newType
- A type of object to be returned.- Returns:
- A converted Variant value.
-