pan> <span class="token keyword">class</span> Score<span class="token punctuation">(</span>value<span class="token operator">:</span> <span class="token builtin">Long</span><span class="token punctuation">)</span> <span class="token keyword">extends</span> <span class="token builtin">AnyVal</span>
<span class="token keyword">final</span> <span class="token keyword">case</span> <span class="token keyword">class</span> UserWithScore<span class="token punctuation">(</span>userId<span class="token operator">:</