<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>j5ik2o</author_name>
  <author_url>https://blog.hatena.ne.jp/j5ik2o/</author_url>
  <blog_title>かとじゅんの技術日誌</blog_title>
  <blog_url>https://blog.j5ik2o.me/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>文字列の結合っていろいろなやり方があるのですが、みなさんはどんなやり方をされていますか？ String firstName = &quot;Junichi&quot;; String lastName = &quot;Kato&quot;; String fullName = &quot;&quot;; fullName += firstName; fullName += lastName; とか、もちろんやってないですよね？ ＋演算子ってわかって使わないとヒドイことになりますよｗ 性能をはかってみよう ちょっと、簡単に以下のような性能をはかるテストを書いてみた。 文字列の連結方式としては、 Stringの+演算子 Stringのcontractメソッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.j5ik2o.me%2Fentry%2F20091108%2F1257637587&quot; title=&quot; 文字列の結合をやるからといって、すぐにStringの+をつかってはいけない - かとじゅんの技術日誌&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>2009-11-08 08:46:27</published>
  <title> 文字列の結合をやるからといって、すぐにStringの+をつかってはいけない</title>
  <type>rich</type>
  <url>https://blog.j5ik2o.me/entry/20091108/1257637587</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
