{"author_url":"https://blog.hatena.ne.jp/yohhoy/","type":"rich","title":"\u6587\u5b57\u5217\u578b\u306enull\uff0f\u7a7a\u6587\u5b57\u5217\u5224\u5b9a","version":"1.0","blog_title":"yohhoy\u306e\u65e5\u8a18","published":"2012-11-01 00:00:00","provider_name":"Hatena Blog","image_url":null,"width":"100%","height":"190","provider_url":"https://hatena.blog","categories":["Java","C#"],"author_name":"yohhoy","blog_url":"https://yohhoy.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20121101%2Fp1\" title=\"\u6587\u5b57\u5217\u578b\u306enull\uff0f\u7a7a\u6587\u5b57\u5217\u5224\u5b9a - yohhoy\u306e\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":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eJava\u3084C#\u3067\u306f\u6587\u5b57\u5217\u578b\uff1d\u53c2\u7167\u578b\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u308b\u305f\u3081\u3001\u7a7a\u306e\u6587\u5b57\u5217\"\"\u3068\u53c2\u7167\u5148\u306a\u3057null\u306f\u660e\u78ba\u306b\u533a\u5225\u3055\u308c\u308b\u3002\u4e00\u65b9\u3067\u51e6\u7406\u30ed\u30b8\u30c3\u30af\u306e \u201c\u6709\u52b9\u306a\u6587\u5b57\u5217\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u304b\uff1f\u201d \u78ba\u8a8d\u306e\u305f\u3081\u306b\u3001\u6587\u5b57\u5217\u578b\u306e\u5909\u6570\u306b\u5bfe\u3057\u3066\u300cnull\u307e\u305f\u306f\u7a7a\u6587\u5b57\u5217\u5224\u5b9a\u300d\u304c\u591a\u7528\u3055\u308c\u308b\u3002 Java: null\u3068\u6bd4\u8f03 \u2192 \u7a7a\u6587\u5b57\u5217\u3068\u6bd4\u8f03 \u3092\u884c\u3046\u3002 C#: System.String.IsNullOrEmpty\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3059\u308b*1\u3002\uff08Java\u3068\u540c\u3058\u5224\u5b9a\u51e6\u7406\u3067\u3082OK\uff09 // Java String s = /*...*/; if (s != null && !s.isEmpty()) { // \u6587\u5b57\u5217s\u3092\u4f7f\u3063\u305f\u51e6\u7406 }\u2026","url":"https://yohhoy.hatenadiary.jp/entry/20121101/p1"}