R - The type of the contracts in this application.public static class LedgerViewFlowable.LedgerView<R>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> | 
activeContractSet  | 
protected org.pcollections.PMap<java.lang.String,org.pcollections.PMap<Identifier,org.pcollections.PSet<java.lang.String>>> | 
commandIdToContractIds  | 
protected org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,org.pcollections.PSet<java.lang.String>>> | 
contractIdsToCommandIds  | 
protected org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> | 
pendingContractSet  | 
| Modifier and Type | Method and Description | 
|---|---|
static <R> LedgerViewFlowable.LedgerView<R> | 
create()
Creates a new empty view of the Ledger. 
 | 
boolean | 
equals(java.lang.Object o)  | 
org.pcollections.PMap<java.lang.String,R> | 
getContracts(Identifier templateId)  | 
int | 
hashCode()  | 
java.lang.String | 
toString()  | 
protected final org.pcollections.PMap<java.lang.String,org.pcollections.PMap<Identifier,org.pcollections.PSet<java.lang.String>>> commandIdToContractIds
protected final org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,org.pcollections.PSet<java.lang.String>>> contractIdsToCommandIds
protected final org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> pendingContractSet
protected final org.pcollections.PMap<Identifier,org.pcollections.PMap<java.lang.String,R>> activeContractSet
public static <R> LedgerViewFlowable.LedgerView<R> create()
public org.pcollections.PMap<java.lang.String,R> getContracts(Identifier templateId)
templateId - The template of the contracts in which the client is interestedpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object