public class ReferencedStateAndRef<T extends ContractState>
A wrapper for a class StateAndRef
indicating that it should be added to a transaction as a reference input state.
class StateAndRef
Constructor and Description |
---|
ReferencedStateAndRef(StateAndRef<? extends T> stateAndRef)
A wrapper for a
class StateAndRef indicating that it should be added to a transaction as a reference input state. |
Modifier and Type | Method and Description |
---|---|
StateAndRef<T> |
component1() |
ReferencedStateAndRef<T> |
copy(StateAndRef<? extends T> stateAndRef)
A wrapper for a
class StateAndRef indicating that it should be added to a transaction as a reference input state. |
boolean |
equals(java.lang.Object p) |
StateAndRef<T> |
getStateAndRef() |
int |
hashCode() |
java.lang.String |
toString() |
public ReferencedStateAndRef(StateAndRef<? extends T> stateAndRef)
A wrapper for a class StateAndRef
indicating that it should be added to a transaction as a reference input state.
class StateAndRef
public StateAndRef<T> getStateAndRef()
public StateAndRef<T> component1()
public ReferencedStateAndRef<T> copy(StateAndRef<? extends T> stateAndRef)
A wrapper for a class StateAndRef
indicating that it should be added to a transaction as a reference input state.
class StateAndRef
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)