約3,870件1ページ目

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

  • 対象とする言語:日本語
  • 2026/3/16 -This expresses a null-in → null-out contract. It means that if the password is null, the result is null; if it is non-null, the result is non- ...

    Returns true if this string is not null and its content is equal to the word "true", ignoring case, and false otherwise. There are also strict versions of the ...

    2026/7/19 -「設定が明示的にfalseなのか、まだ設定されていないのか」を区別したい場合は、Boolean.valueOfでBooleanオブジェクト化してnullチェックを行う必要が ...

    null 以外の引数のハッシュ・コードを返し、引数が null の場合は0を返します。 · 指定された参照が null である場合は true を返し、そうでない場合は false を返します。

    Null-safe check if the specified collection is not empty. static boolean, isProperSubCollection(Collection a, Collection b). Returns true iff a is a proper ...

    この実験では、Java で Boolean ラッパーオブジェクトが null かどうかを安全にチェックする方法を学びます。プリミティブな boolean 型とは異なり、 Boolean クラスは ...

    2022/6/16 -null セーフでもあるんだ。boolean -> nullable boolean に変えてもコンパイルエラーにならないから。「== false」は問題なく動くから、バグの原因に ...

    2026/7/15 -「ウサギ」という文字列リテラルは確実にnullではないため、引数にnullが渡されてもメソッドは正常に動作し、falseを返します。この書き方は「nullセーフ ...

    2025/5/18 -基本的な条件から最新のエンタープライズ パターンまで、Java における null チェックの進化を探ってみましょう。 1. if文による基本的なnullチェック.

    2017/12/21 -null チェックと non-null へのキャストをセットで行う仕組みは null 安全 を実現する上で欠かせまぜん。 似たような仕組みとして、 Swift や Rust には ...