Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Autoboxing and Performance ? Date: Wed, 28 Aug 2013 10:52:32 -0400 Organization: A noiseless patient Spider Lines: 33 Message-ID: References: <5csRt.197906$jW3.50636@fx23.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 28 Aug 2013 14:51:17 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="30404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18x5bkkHYYFrn0/LrxJJ2271vaHJb76evc=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130709 Icedove/17.0.7 In-Reply-To: Cancel-Lock: sha1:WjlzODsTUib/1jGK+gIM9rcuvwg= Xref: csiph.com comp.lang.java.programmer:25162 On 08/27/2013 07:16 PM, Stefan Ram wrote: > Jeff Higgins writes: >> change from the earlier versions that JScience library depends on. > > According to the World-Wide Web a person named »Jeff« has written > a Groovy category that uses JScience to support things like Some years ago a local newspaper reported that Jeffrey (Middle name different from mine) Higgins had been arrested the previous evening in connection with the armed robbery of a local convenience store. The article provided some coworkers considerable fun. > def len = 2.kilometers + 500.meters > > . (He carefully avoided using »1« to avoid showing what I fear > would be »1.meters« instead of »1.meter«.) It seems to me that TextFormat should be able to handle that, not sure, but I seem to remember something about it. I'm not very familiar with Groovy at all. JScience 4.3.1 is entirely usable but it seems version 5 still has a ways to go. I've begun investigating the Eclipse UOMo. I'll be interested to see how JSR 354 pans out. It's kinda shame that all of these APIs don't have a common core available for instance arithmetic, text formatting, XML serialization, etc. > > (This post might still be on-topic with regard to the subject > insofar as the above Groovy notation might be read to include > some kind of »autoboxing«.) >