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