Parent Directory | Revision Log | Patch
revision 1.25 by cbj, Wed Nov 14 13:26:49 2001 UTC | revision 1.26 by cbj, Thu Nov 15 02:23:35 2001 UTC | |
---|---|---|
# | Line 234 public final class Double extends Number | Line 234 public final class Double extends Number |
234 | */ | */ |
235 | public static Double valueOf (String s) throws NumberFormatException | public static Double valueOf (String s) throws NumberFormatException |
236 | { | { |
237 | if (s == null) | |
238 | throw new NullPointerException (s); | |
239 | return new Double (s); | return new Double (s); |
240 | } | } |
241 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |