< prev index next >
src/java.base/share/classes/java/lang/Boolean.java
Print this page
*** 228,244 ****
}
return false;
}
/**
! * Returns {@code true} if and only if the system property
! * named by the argument exists and is equal to the string
! * {@code "true"}. (Beginning with version 1.0.2 of the
! * Java<small><sup>TM</sup></small> platform, the test of
! * this string is case insensitive.) A system property is accessible
! * through {@code getProperty}, a method defined by the
! * {@code System} class.
* <p>
* If there is no property with the specified name, or if the specified
* name is empty or null, then {@code false} is returned.
*
* @param name the system property name.
--- 228,243 ----
}
return false;
}
/**
! * Returns {@code true} if and only if the system property named
! * by the argument exists and is equal to the string {@code
! * "true"}. (Beginning with version 1.0.2 of the Java™
! * platform, the test of this string is case insensitive.) A
! * system property is accessible through {@code getProperty}, a
! * method defined by the {@code System} class.
* <p>
* If there is no property with the specified name, or if the specified
* name is empty or null, then {@code false} is returned.
*
* @param name the system property name.
< prev index next >