約7,650件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:6か月以内
  • 2026/8/3 -The Boolean returned represents a true value if the string argument is not null and is equal, ignoring case, to the string "true" . Otherwise, a false value is ...

    2026/6/5 -As we learned in Chapter 1, the boolean type is one of Java's primitive types. For this type, there are only two possible values, true and false.

    2026/10/9 -The Boolean.parseBoolean() method returns true only for the text true, ignoring case. Every other value, including yes, 1 and null, gives false without an ...

    2026/10/26 -Like Java, JML allows you to specify whether or not the values of a type are allowed to be null. In fact, JML makes it the default that a value of reference ...

    2026/10/2 -Learn why Java wrapper classes exist, how boxing and unboxing work, and where nulls, reference identity, and overload selection create surprises.

    2026/11/6 -If a wrapper variable is null and Java tries to unbox it, you get a NullPointerException at runtime. For example, Integer x = null; int y = x; crashes because ...

    2026/10/15 -Primitive types ( int , double , boolean and others) are fast and compact, but they are not objects: they have no methods, they cannot be null , and they cannot ...

    3日前 -... Boolean optionalBoolean(String name) { 078 String value = env(name); 079 return value == null ? null : Boolean.valueOf(value); 080 } 081 082 private static ...

    2026/6/25 -This is useful for providing fallback values when an expression may evaluate to a value with an effective Boolean value of false (such as null , false , 0 , ...

    2026/9/3 -Null is an unknown value. You simply don't know whether it's true or false. That seems perfectly reasonable to me.