Class Variant<T>

  • Type Parameters:
    T - A "self type", some subclass of this class that T implements.
    All Implemented Interfaces:
    DefinedDataType<T>

    public abstract class Variant<T>
    extends java.lang.Object
    implements DefinedDataType<T>
    Base class of all decoded-to-codegen Daml variants with no type parameters.

    Its encoded counterpart is Variant, which can be produced with toValue().

    • Constructor Summary

      Constructors 
      Constructor Description
      Variant()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract Variant toValue()
      Produce the encoded form.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait