約128,000件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/2/15 -The purpose of the class is to provide a type-level solution for representing optional values instead of null references. To get a deeper understanding of why ...

    2025/12/7 -Optional is a container object that may or may not contain a non-null value. It's designed to represent "optional" return values and avoid NullPointerException ...

    2026/4/13 -Optional is not a null eliminator — it is an API contract: a method that returns Optional<T> is telling callers explicitly that no value may exist, forcing them ...

    2025/12/10 -I'm currently refactoring a Java application to improve its handling of null values. I've come across the Optional class and would like to understand…

    In this video, we dive deep into the Java Optional class, one of the most important concepts introduced in Java 8 to handle null values safely and ...

    YouTubeCoder Army

    2026/9/9 -The ifPresentOrElse() method of the Optional class performs an action when a value is present and another action when the Optional is empty.

    2026/2/26 -The Optional type was introduced in Java 8. It provides a clear and explicit way to convey the message that there may not be a value, without using null.

    2025/12/16 -Even the Java documentation is explicit: “Optional is primarily intended for use as a method return type where there is a clear need to represent 'no result'.

    2026/9/16 -Optional<T> is a container from java. · Its purpose is to make a possibly missing result visible in the method signature instead of hiding it behind null .

    2025/11/12 -Lambda Expressions · Stream API · Functional Interfaces · Method References · Optional Class · Default and Static Methods in Interfaces · New Date and Time API.