R - The type of the contracts in this application.public static class LedgerViewFlowable.LedgerTestView<R> extends LedgerViewFlowable.LedgerView<R>
activeContractSet, commandIdToContractIds, contractIdsToCommandIds, pendingContractSet| Constructor and Description |
|---|
LedgerTestView(org.pcollections.PMap<java.lang.String,org.pcollections.PMap<Identifier,org.pcollections.PSet<java.lang.String>>> commandIdToContractIds,
org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,org.pcollections.PSet<java.lang.String>>> contractIdsToCommandIds,
org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> pendingContractSet,
org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> activeContractSet) |
| Modifier and Type | Method and Description |
|---|---|
LedgerViewFlowable.LedgerTestView<R> |
addActiveContract(Identifier templateId,
java.lang.String contractId,
R r) |
create, equals, getContracts, hashCode, toStringpublic LedgerTestView(org.pcollections.PMap<java.lang.String,org.pcollections.PMap<Identifier,org.pcollections.PSet<java.lang.String>>> commandIdToContractIds, org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,org.pcollections.PSet<java.lang.String>>> contractIdsToCommandIds, org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> pendingContractSet, org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> activeContractSet)
public LedgerViewFlowable.LedgerTestView<R> addActiveContract(Identifier templateId, java.lang.String contractId, R r)