<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>crakac</author_name>
  <author_url>https://blog.hatena.ne.jp/crakac/</author_url>
  <blog_title>Dive into Ofuton</blog_title>
  <blog_url>https://crakac.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>AtCoderの問題を解いているときにMultiSetがあると助かる場面があったためざっくり実装。 import java.util.TreeMap import java.util.TreeSet class SortedMultiSet&lt;T&gt;( comparator: Comparator&lt;T&gt;? = null, val map: TreeMap&lt;T, Int&gt; = TreeMap&lt;T, Int&gt;(comparator) ) :MutableSet&lt;T&gt; by map.keys{ override fun add(element: T): Boolean { map[element] = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcrakac.hatenablog.jp%2Fentry%2F2020%2F11%2F11%2F172612&quot; title=&quot;KotlinでMultiSetを雑に実装する - Dive into Ofuton&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-11 17:26:12</published>
  <title>KotlinでMultiSetを雑に実装する</title>
  <type>rich</type>
  <url>https://crakac.hatenablog.jp/entry/2020/11/11/172612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
