java String 转boolean
Boolean.parseBoolean(String str);
Parses the string argument as a boolean. The boolean
returned represents the value true
if the string argument is not null
and is equal, ignoring case, to the string "true"
.
Boolean.parseBoolean(String str);
Parses the string argument as a boolean. The boolean
returned represents the value true
if the string argument is not null
and is equal, ignoring case, to the string "true"
.