hashCode

open override fun hashCode(): Int

Compute hash code consistent with equals: combines items, weights, bounds flags and default return value.

Don't rely on the result value, it might be changed in the future.