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".

posted on 2016-05-05 16:11  青葱的岁月  阅读(4869)  评论(1编辑  收藏  举报

导航