One more thing I need from the Float/Double person[s]: where (and how)
can spaces be in the input string, and what happens when an unrecognized
character is hit? Is a NumberFormatException thrown, or is the rest of the
string simply ignored? (I have wondered this myself.) Actually this goes
for the parsing of Integer/Long/etc., but I can just look and figure that
one out for myself.
And I'm still missing documentation for those WIDEFP_* fields in Float.
Also, I made a change to fit the specs and I want to make sure it's
right. Double.Double(String), Float.Float(String), Double.valueOf(String),
and Float.valueOf(String) all explicitly declared that they threw
NullPointerException. The docs, at least, say that shouldn't be declared
(in fact, they generally don't declare NullPointerException to be thrown
anywhere). I declared an @exception clause, but I removed the throws
NullPointerException part from all of them.
--John
"All great truths begin as blasphemies." - George Bernard Shaw