[jboss-dev-forums] [Design of POJO Server] - Re: Annotation to metadata status

wolfc do-not-reply at jboss.com
Wed Nov 21 14:47:15 EST 2007


"scott.stark at jboss.org" wrote : See the dev list discussion around this class wildcard issue. If you take Collection<Class<?>> to mean a collection of a specific, although unknown type of class, this is the wrong type to be using in the creator codebase. We need a heterogeneous collection of classes of many types.
  | 
Hmm, interesting view. What was the topic of that thread?
I think a collection of a specific, although unknown type of class is specified so:
<T> void myMethod() {
  |    Collection<Class<T>> collection;
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106867#4106867

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106867



More information about the jboss-dev-forums mailing list