Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21873

Re: How to remove this issue about NumberFormatException?

X-Received by 10.66.80.41 with SMTP id o9mr505825pax.4.1359563711649; Wed, 30 Jan 2013 08:35:11 -0800 (PST)
X-Received by 10.50.108.174 with SMTP id hl14mr767148igb.5.1359563711601; Wed, 30 Jan 2013 08:35:11 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!f6no4461202pbd.1!news-out.google.com!6ni25139pbd.1!nntp.google.com!f6no4461198pbd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Wed, 30 Jan 2013 08:35:11 -0800 (PST)
In-Reply-To <7t4ig81a1brc4up6t6huk894lp23c51oic@4ax.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.29
References <5d71bb47-c763-403a-8405-89708b399442@sb6g2000pbb.googlegroups.com> <50fa3023-1503-4c5b-853f-ff529b26734b@d8g2000pbm.googlegroups.com> <f38fg85vnq3cjno9jbu25mq0n0p3vh2bbi@4ax.com> <vENNs.28482$O02.26239@newsfe18.iad> <7t4ig81a1brc4up6t6huk894lp23c51oic@4ax.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <03b6cd9b-9764-48fb-9c87-2ddfd7bba0ee@googlegroups.com> (permalink)
Subject Re: How to remove this issue about NumberFormatException?
From Lew <lewbloch@gmail.com>
Injection-Date Wed, 30 Jan 2013 16:35:11 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:21873

Show key headers only | View raw


Roedy Green wrote:
> Arved Sandstrom wrote, quoted or indirectly quoted someone who said :
>>Number objects are more binary than String objects? Who knew?
> 
>  "123"  is a string of characters. 3 x 16-bit unicodes.  int i=123 is
> stored internally as 32-bit binary at run-time as is new Integer( 123
> ) in a protective object wrapper.

And every real programmer knows that both are binary representations at their heart.

That's all he's saying.

> Perhaps it is my age, but it is a long standing tradition to refer
> call the process as "converting character/a/alpha/ascii to binary".

A loose description. Arved's was precise.

> Number is a general term that includes byte, int, float, double,
> packed decimal, fixed length char numerics. (Think COBOL PL/I).  In
> Java, Number is an abstract class with ten implementations.

Ten implementations that you know of. There might be more.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to remove this issue about NumberFormatException? bluestar <bluestar8783@gmail.com> - 2013-01-29 00:09 -0800
  Re: How to remove this issue about NumberFormatException? bluestar <bluestar8783@gmail.com> - 2013-01-29 01:09 -0800
    Re: How to remove this issue about NumberFormatException? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-29 02:15 -0800
      Re: How to remove this issue about NumberFormatException? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-01-29 06:38 -0400
        Re: How to remove this issue about NumberFormatException? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-30 04:55 -0800
          Re: How to remove this issue about NumberFormatException? Lew <lewbloch@gmail.com> - 2013-01-30 08:35 -0800
            Re: How to remove this issue about NumberFormatException? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-31 04:21 -0800

csiph-web