Class Bool


  • public final class Bool
    extends Value
    • Field Detail

      • TRUE

        public static final Bool TRUE
      • FALSE

        public static final Bool FALSE
    • Constructor Detail

      • Bool

        @Deprecated
        public Bool​(boolean value)
        Deprecated.
        Use of(boolean) instead; since Daml 2.5.0
    • Method Detail

      • of

        public static Bool of​(boolean value)
      • toProto

        public com.daml.ledger.api.v1.ValueOuterClass.Value toProto()
        Specified by:
        toProto in class Value
      • isValue

        public boolean isValue()
      • getValue

        public boolean getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object