Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
bboett
Unregistered
|
|
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
|
|
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
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5