Package com.daml.ledger.javaapi.data
Class Numeric
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Value
-
- com.daml.ledger.javaapi.data.Numeric
-
-
Constructor Summary
Constructors Constructor Description Numeric(@NonNull java.math.BigDecimal value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static Numeric
fromProto(java.lang.String numeric)
@NonNull java.math.BigDecimal
getValue()
int
hashCode()
com.daml.ledger.api.v1.ValueOuterClass.Value
toProto()
java.lang.String
toString()
-
-
-
Method Detail
-
fromProto
public static Numeric fromProto(java.lang.String numeric)
-
toProto
public com.daml.ledger.api.v1.ValueOuterClass.Value toProto()
-
getValue
public @NonNull java.math.BigDecimal 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
-
-