<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>EDunity</author_name>
  <author_url>https://blog.hatena.ne.jp/EDunity/</author_url>
  <blog_title>「毎日Unity」の技術ブログ</blog_title>
  <blog_url>https://edunity.hatenablog.com/</blog_url>
  <categories>
    <anon>Processing</anon>
  </categories>
  <description>自作クラスのソート方法を自分用にメモ。 [ ソート方法 ] 自作クラスVector2を要素とする配列を要素のYが小さい順にソートします。 import java.util.Arrays; void setup() { final Vector2[] ArrayA = new Vector2[] { new Vector2(1, 4), new Vector2(6, 5), new Vector2(2, 3), }; println(&quot;[ ソート前 ]&quot;); for (int i = 0; i &lt; ArrayA.length; i++) { println(&quot;ArrayA[&quot; + i + &quot;]:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedunity.hatenablog.com%2Fentry%2F20231025%2F1698219651&quot; title=&quot;【Processing】自作クラスのソート方法 - 「毎日Unity」の技術ブログ&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>2023-10-25 16:40:51</published>
  <title>【Processing】自作クラスのソート方法</title>
  <type>rich</type>
  <url>https://edunity.hatenablog.com/entry/20231025/1698219651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
