com.r3corda.contracts / Rate / hashCode

hashCode

open fun hashCode(): Int
Returns
the hash code of the ratioUnit or zero if the ratioUnit is null, as is the case for floating rate fixings that have not yet happened. Yet-to-be fixed floating rates need to be equal such that schedules can be tested for equality.