append

fun append(value: Any?): HashCodeBuilder

Appends the hash code of the given value to the current hash code.

Return

The current instance of HashCodeBuilder, for chaining.

Parameters

value

The value to append. If the value is an array, its deep hash code is used. Null values are treated as 0. If the hash code of the value is 0, it is not included.

See also

for an example of how to use this method.