Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Sven_K=F6hler?= Newsgroups: comp.lang.java.programmer Subject: Re: Autoboxing and Performance ? Date: Thu, 29 Aug 2013 10:09:53 +0300 Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de UXoSLY4CAwPA7xczh4DDLgyTPF8ZsiARkA+eInjmGPFSiQdOtB2GN8sKaS Cancel-Lock: sha1:U8giAzz/2PAJyGZ5NC2VEuCjU/k= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130807 Thunderbird/17.0.8 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:25166 Am 26.08.2013 20:33, schrieb Robert Klemme: >> I'd even call program is seriously broken if it uses Integer where int >> could be used. I was never in need of a mutable Integer. > > Then you probably never used reflection. Which is another good reason > to have java.lang.Integer and the like. Now reflection doesn't allow you to use int instead of Integer, right? Mostly because the arguments have to be passed as an array of Objects, if I remember correctly. So int can't be used, right? Regards, Sven