Parent Directory | Revision Log | Patch
revision 1.22 by mark, Sat Jul 2 20:32:38 2005 UTC | revision 1.23 by tromey, Sat Sep 17 21:58:41 2005 UTC | |
---|---|---|
# | Line 221 public final class Boolean implements Se | Line 221 public final class Boolean implements Se |
221 | return false; | return false; |
222 | return "true".equalsIgnoreCase(System.getProperty(name)); | return "true".equalsIgnoreCase(System.getProperty(name)); |
223 | } | } |
224 | ||
225 | /** | |
226 | * If the String argument is "true", ignoring case, return true. | |
227 | * Otherwise, return false. | |
228 | * | |
229 | * @param b String to parse | |
230 | * @since 1.5 | |
231 | */ | |
232 | public static boolean parseBoolean(String b) | |
233 | { | |
234 | return "true".equalsIgnoreCase(b) ? true : false; | |
235 | } | |
236 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |