MCPcopy Index your code
hub / github.com/davidgiven/luje / parseBoolean

Method parseBoolean

lib/java/lang/Boolean.java:187–189  ·  view source on GitHub ↗

Parses the specified string as a boolean. @param s the string representation of a boolean value. @return true if s is not null and is equal to "true" using case insensitive comparison, false otherwise. @since 1.5

(String s)

Source from the content-addressed store, hash-verified

185 * @since 1.5
186 */
187 public static boolean parseBoolean(String s) {
188 return "true".equalsIgnoreCase(s); //$NON-NLS-1$
189 }
190
191 /**
192 * Converts the specified boolean to its string representation.

Callers 3

BooleanMethod · 0.95
getBooleanMethod · 0.95
valueOfMethod · 0.95

Calls 1

equalsIgnoreCaseMethod · 0.80

Tested by

no test coverage detected