com.r3corda.core.contracts / BilateralNettableState / net

net

abstract fun net(other: T): T

Perform bilateral netting of this state with another state. The two states must be compatible (as in bilateralNetState objects are equal).