Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959023

Pages: 1
bboett
Unregistered




still don't get it....
      #23460 - 11/05/05 05:47 AM

Hello,
the whole this is still confusing....
the usage of wildcards is far from solved....

i tryed the following thing and it doesn't work:
protected Vector<? extends Drawable> selektion = new Vector<? extends Drawable>();

changed it to
Vector<? extends Drawable> selektion = new Vector<?Drawable>();

doesn't work either since afterwards when i try to use this Vector, i get complaints about "cannot find symbol"....

maybe if someone could explain me how this is supposed to work??
IMHO fixed types are useless.... the basic pattern should be to allow all types that descend from the one in the template..
feel free to mail me : bboett at free.fr

thanks in advance


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3074

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5