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


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

Re: limitations on using enum as generic parameter

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!x5g2000prf.googlegroups.com!not-for-mail
From Lew <lew@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: limitations on using enum as generic parameter
Date Tue, 8 Feb 2011 12:31:01 -0800 (PST)
Organization http://groups.google.com
Lines 13
Message-ID <0492d06b-9d2a-4b7f-9baa-a4f124cc2690@x5g2000prf.googlegroups.com> (permalink)
References <76e9be77-f846-4559-82ec-1d774a8a6a0b@q36g2000yqn.googlegroups.com> <4d518f96$1@news.x-privat.org> <iis5qe$6o3$1@news.eternal-september.org> <4d519c14$1@news.x-privat.org> <iis6ki$ad9$1@news.eternal-september.org>
NNTP-Posting-Host 64.215.87.3
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1297197061 29121 127.0.0.1 (8 Feb 2011 20:31:01 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Tue, 8 Feb 2011 20:31:01 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info x5g2000prf.googlegroups.com; posting-host=64.215.87.3; posting-account=IZs2IgoAAACGaj2oD74Zp9JDhkUk-os6
User-Agent G2/1.0
X-HTTP-UserAgent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8),gzip(gfe)
Xref csiph.com comp.lang.java.programmer:26092

Show key headers only | View raw


"Ken Wesson" allegedly wrote:
>> In the special case of an enum there's getEnumConstants.
>

Daniele Futtorovic wrote:
> Which doesn't work via reflection, FWIW
>

Would you explain what you mean by that?  'getEnumConstants()' is
itself a method of reflection.

--
Lew

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


Thread

Re: limitations on using enum as generic parameter Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-08 20:33 +0100
  Re: limitations on using enum as generic parameter Lew <lew@lewscanon.com> - 2011-02-09 10:07 -0800
  Re: limitations on using enum as generic parameter Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-08 23:44 +0100
  Re: limitations on using enum as generic parameter Daniele Futtorovic <da.futt.news@laposte.net.invalid> - 2011-02-08 20:47 +0100
    Re: limitations on using enum as generic parameter Lew <lew@lewscanon.com> - 2011-02-08 12:31 -0800
  Re: limitations on using enum as generic parameter Ken Wesson <kwesson@gmail.com> - 2011-02-08 20:40 +0100

csiph-web