Date: Fri, 09 Sep 2011 09:02:44 +0200 From: John User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Define Type at runtime References: <4e678737$1@news.x-privat.org> <5a51c17a-6488-492c-bad4-857a622f5c46@glegroupsg2000goo.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: $$afwhll$slnyo.news.x-privat.org Message-ID: <4e69ba1b@news.x-privat.org> Organization: X-Privat.Org NNTP Server - http://www.x-privat.org Lines: 6 X-Authenticated-User: $$p9zou1n1$ng5dhdq$s2 X-Complaints-To: abuse@x-privat.org Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.x-privat.org!x-privat.org!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7748 Il 08/09/2011 20:07, BGB ha scritto: > and, probably, not to forget "instanceof". I couldn't use instanceof, because because can be any kind of type, type of class of my project too. Doing a series of if clause is impossible!