Class Variant<T>
java.lang.Object
com.daml.ledger.javaapi.data.codegen.Variant<T>
- Type Parameters:
T- A "self type", some subclass of this class thatTimplements.
- All Implemented Interfaces:
DefinedDataType<T>
-
Constructor Details
-
Variant
public Variant()
-
-
Method Details
-
toValue
Description copied from interface:DefinedDataTypeProduce the encoded form.- Specified by:
toValuein interfaceDefinedDataType<T>
-