Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: char to decimal Date: Thu, 05 May 2011 17:06:59 -0400 Organization: albasani.net Lines: 24 Message-ID: References: <92ea64F3avU1@mid.individual.net> <9pednRnBeuxtPF_QnZ2dnUVZ_uGdnZ2d@earthlink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net vPfFyNboK1gc2scGx9HJL8bJ/24aMYIBECp7TW5o10Urhmi9OTx2fJYaZh72eB0cD66uIA9VFalQcaLBE0rvuA== NNTP-Posting-Date: Thu, 5 May 2011 21:06:57 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="qpj1QkdTz+dUVHsgpIHp41b3Qs3gyeSKKCSWMeIGxTHBu5lWUeVB2bJl4CCysv1OlvrWJ4uaSc1YDgBQusu7GTsAhO5IZ4Xe4yS1xGvboVyYa7RUYgIa5jicAnlahdme"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: Cancel-Lock: sha1:RuF1zr+t/w/4QaRzVQznjx8Aos0= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3595 On 05/05/2011 02:48 PM, Paul Cager wrote: > On May 5, 3:56 pm, Andreas Leitgeb > wrote: >> Patricia Shanahan wrote: > ... >>> There are several different ways of mapping between the >>> two Boolean values and integers, >> >> One of which Java happens to have chosen already, >> just for "internal use only." > > Two values are defined for "public use" - 1231 and 1237 > (java.lang.Boolean's hashcode()). I think they should take precedence > over any "internal use only" values. > > :) Those are, of course, the natural numeric representations for booleans in Java, whatever Larry-baby thinks. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg