Sunday, March 2, 2014

Re: Best alternative for Character.getNumericValue(ch)?


Thanks thomas, I will have a look at it. I am not sure which situations this covers, and where you get this from, please give me a hint, I am not so well known with this character encoding.

In the mean time, I super-sourced the Character class and implemented the isWhiteSpace() and getNumericValue() method for latin support only (no noticable code increase), in other cases I throw an exception, and will probably never occur in my case. I like this solution as I have shared classes that use these methods also in none-gwt code.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment