MCPcopy Create free account
hub / github.com/davidgiven/luje / valueOf

Method valueOf

lib/java/lang/Boolean.java:211–213  ·  view source on GitHub ↗

Parses the specified string as a boolean value. @param string the string representation of a boolean value. @return Boolean.TRUE if string is equal to "true" using case insensitive comparison, Boolean.FALSE otherwise. @see #parseBoolean(String)

(String string)

Source from the content-addressed store, hash-verified

209 * @see #parseBoolean(String)
210 */
211 public static Boolean valueOf(String string) {
212 return parseBoolean(string) ? Boolean.TRUE : Boolean.FALSE;
213 }
214
215 /**
216 * Returns a {@code Boolean} instance for the specified boolean value.

Callers

nothing calls this directly

Calls 1

parseBooleanMethod · 0.95

Tested by

no test coverage detected