public class StateAndRef<T extends ContractState>
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
| Constructor and Description | 
|---|
StateAndRef(TransactionState<? extends T> state,
           StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TransactionState<T> | 
component1()  | 
StateRef | 
component2()  | 
StateAndRef<T> | 
copy(TransactionState<? extends T> state,
    StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these. 
 | 
boolean | 
equals(java.lang.Object p)  | 
StateRef | 
getRef()  | 
TransactionState<T> | 
getState()  | 
int | 
hashCode()  | 
java.lang.String | 
toString()  | 
public StateAndRef(TransactionState<? extends T> state, StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
public TransactionState<T> getState()
public StateRef getRef()
public TransactionState<T> component1()
public StateRef component2()
public StateAndRef<T> copy(TransactionState<? extends T> state, StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)