<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>競プロライブラリ</anon>
  </categories>
  <description>ソート可能なペアとして入力値を取り扱うと解きやすい問題向けのライブラリです。必要ならば、問題の条件に適合するようにソート条件を変更して使います。 例えば以下の問題で役に立ちます。 AtCoder Beginner Contest 256 D - Union of Interval 2023/09/18追記：HashSetなどで取り扱う際に所望通りの挙動をしなかったためhashCodeメソッドを追加、およびequalsメソッドのキャスト例外握り潰しを廃止 import java.util.Objects; public final class Pair&lt;F extends Comparable&lt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2022%2F06%2F19%2F125431&quot; title=&quot;Java向け競プロライブラリ(ペア) - JunKobayashi&amp;#39;s Diary&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>2022-06-19 12:54:31</published>
  <title>Java向け競プロライブラリ(ペア)</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2022/06/19/125431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
