<divclass="content sourceset-depenent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/jvmMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="[jvm]calculate-diff.html">T</a><spanclass="token operator">></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="[jvm]calculate-diff.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="[jvm]calculate-diff.html"><spanclass="token function">calculateDiff</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">other<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="[jvm]calculate-diff.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">strictComparison<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token operator"> = </span><spanclass="token boolean">false</span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="[jvm]-diff/index.html">Diff</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="[jvm]calculate-diff.html">T</a><spanclass="token operator">></span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Calculating <ahref="[jvm]-diff/index.html">Diff</a> object</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/jvmMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span>strict</span><wbr></wbr><span><span>Comparison</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">If this parameter set to true, objects which are not equal by links will be used as different objects. For example, in case of two "Example" string they will be equal by value, but CAN be different by links</p></div></div></div></div></div></div></div></div></div>