Mega Code Archive

 
Categories / Java Book / 003 Essential Classes
 

0174 Parse boolean value from string

static boolean parseBoolean(String s) Parses the string argument as a boolean. static Boolean valueOf(boolean b) Returns a Boolean instance representing the specified boolean value. static Boolean valueOf(String s) Returns a Boolean with a value represented by the specified string.