{"blog_title":"A Memorandum","height":"190","version":"1.0","title":"IDE \u306e Lambda can be replaced with method reference \u3068\u3044\u3046\u8a98\u60d1\u306b\u8ca0\u3051\u308b\u306a","categories":[],"provider_url":"https://hatena.blog","published":"2026-11-02 00:00:00","description":"\u306f\u3058\u3081\u306b IDE\u306e\u30b3\u30fc\u30c9\u30a4\u30f3\u30b9\u30da\u30af\u30b7\u30e7\u30f3\u306f\u3044\u3064\u3067\u3082\u4fe1\u7528\u3067\u304d\u308b\u8a33\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u5206\u304b\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u5206\u304b\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u307e\u305f\u3082\u3084\u8a98\u60d1\u306b\u8ca0\u3051\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u81ea\u6212\u306e\u610f\u5473\u3067\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002 Lambda can be replaced with method reference \u306e\u4f8b \u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u5909\u63db\u904e\u7a0b\u3067\u30cc\u30eb\u3068\u306a\u308b\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8fd4\u3059\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002 public static <T> T getOrDefault(Supplier<T> supplier, T defaultValue) { try { var ret = supplier.get(); ret\u2026","blog_url":"https://blog1.mammb.com/","author_url":"https://blog.hatena.ne.jp/Naotsugu/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2026%2F11%2F02%2F000000\" title=\"IDE \u306e Lambda can be replaced with method reference \u3068\u3044\u3046\u8a98\u60d1\u306b\u8ca0\u3051\u308b\u306a - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","url":"https://blog1.mammb.com/entry/2026/11/02/000000","type":"rich","provider_name":"Hatena Blog","author_name":"Naotsugu"}