public class StateAndRef<T extends ContractState>
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
public StateAndRef(@NotNull TransactionState<? extends T> state, @NotNull StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
@NotNull public ReferencedStateAndRef<T> referenced()
For adding class StateAndRef
s as references to a TransactionBuilder.
class StateAndRef
,
TransactionBuilder@NotNull public TransactionState<T> getState()
@NotNull public StateRef getRef()
@NotNull public TransactionState<T> component1()
@NotNull public StateRef component2()
@NotNull public StateAndRef<T> copy(@NotNull TransactionState<? extends T> state, @NotNull StateRef ref)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
@NotNull public java.lang.String toString()
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
public int hashCode()
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
public boolean equals(@Nullable java.lang.Object p)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.