ContractId
Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt Use this file to discover all available pages before exploring further.
ContractId
This class is used as a super class for all concrete ContractIds generated by the java codegen with the following properties: Foo.ContractId fooCid = new Foo.ContractId(“test”); Bar.ContractId barCid = new Bar.ContractId(“test”); ContractId
genericFooCid = new ContractId<>(“test”); ContractId genericBarCid = new ContractId<>(“test”); fooCid.equals(genericFooCid) == true; genericFooCid.equals(fooCid) == true; fooCid.equals(barCid) == false; barCid.equals(fooCid) == false; Due to erase, we cannot distinguish ContractId from ContractId , thus: fooCid.equals(genericBarCid) == true genericBarCid.equals(fooCid) == true genericFooCid.equals(genericBarCid) == true genericBarCid.equals(genericFooCid) == true
ContractId - stable
Upstream docs: Open
Signature
public class ContractId<T> extends Object implements Exercises<ExerciseCommand>
Members
| Docs | Member | Introduced | Deprecated | Removed |
|---|---|---|---|---|
| Open | ContractId(String) | 3.4.8 | - | - |
| Open | contractId | 3.4.8 | - | - |
| Open | equals(Object) | 3.4.8 | - | - |
| Open | hashCode() | 3.4.8 | - | - |
| Open | makeExerciseCmd(Choice<?, ? super A, R>, A) | 3.4.8 | - | - |
| Open | toString() | 3.4.8 | - | - |
| Open | toValue() | 3.4.8 | - | - |
Mirrored from Canton Network official documentation (CC-BY-4.0) by CC Privacy Club for learning purposes.