{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090113%2Fbubble\" title=\"\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e506\u3002 \u300c\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u3063\u3066\u3069\u3046\u66f8\u304f\u306e\u30fc\u300d\u3063\u3066\u805e\u304b\u308c\u3066\u3001\u3053\u3046\u66f8\u304f\u3093\u3060\u3088\u30fc\u3063\u3068\u3055\u3089\u3055\u3089\u3063\u3068\u66f8\u3044\u3066\u3084\u308d\u3046\u3068\u3057\u305f\u3089\u3001\u666e\u901a\u306b\u89e3\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u975e\u5e38\u306b\u3042\u305b\u3063\u305f\u3002 \u305d\u3046\u3044\u3048\u3070\u3001\u30af\u30a4\u30c3\u30af\u30bd\u30fc\u30c8\u3068\u304b\u30de\u30fc\u30b8\u30bd\u30fc\u30c8\u306f\u305f\u307e\u306b\u66f8\u304f\u3051\u3069\u3001\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u306f\u3081\u3063\u305f\u306b\u66f8\u3044\u305f\u3053\u3068\u306a\u3044\u306a\u3041\u3002 \u3068\u3044\u3046\u308f\u3051\u3067\u3001\u3061\u3083\u3093\u3068\u8abf\u3079\u3066\u3001Scala\u3067\u66f8\u3044\u3066\u307f\u305f\u3002 \u4f7f\u3044\u65b9 scala> bsort(Array(1,5,3)) res1: Array[Int] = Array(1, 3, 5) \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 def swap[A](xs : Array[A], i : Int, j : Int){ val s = xs(i) va\u2026","type":"rich","url":"https://mzp.hatenadiary.org/entry/20090113/bubble","author_url":"https://blog.hatena.ne.jp/mzp/","height":"190","version":"1.0","provider_name":"Hatena Blog","published":"2009-01-13 00:00:00","width":"100%","provider_url":"https://hatena.blog","categories":["Scala","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"blog_url":"https://mzp.hatenadiary.org/","title":"\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","image_url":null,"author_name":"mzp"}