Package com.daml.ledger.javaapi.data
Class Bool
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Value
-
- com.daml.ledger.javaapi.data.Bool
-
public final class Bool extends Value
-
-
Constructor Summary
Constructors Constructor Description Bool(boolean value)
Deprecated.Useof(boolean)
instead; since Daml 2.5.0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
boolean
getValue()
int
hashCode()
boolean
isValue()
static Bool
of(boolean value)
com.daml.ledger.api.v1.ValueOuterClass.Value
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Bool
@Deprecated public Bool(boolean value)
Deprecated.Useof(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()
-
isValue
public boolean isValue()
-
getValue
public boolean getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-