> I cannot understand the error.
>
[quoted text clipped - 33 lines]
> }
> }

Signature
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message
Hendrik Maryns uitte de volgende tekst op 03/02/2006 09:23 PM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
[quoted text clipped - 43 lines]
> values. What you have above only accepts Maps that have Longs as keys
> and Lists of *the specific type List<?>* as keys.
That?s wrong. The problem is, that Map<Long, List<?>> can map Longs on
any type of list. I.e., 3 could map to a List<String>, whereas 5 maps
to List<Number> and so on. Thus, the moment you give Java a Map<Long,
List<Double>>, it says: cannot assign, because imagine that this would
work, then the following code would be possible, and of course we don?t
want that:
Map<Long, List<?>> badMap = new HashMap<Long, List<Double>>; //will not
compile
map.put(5, new ArrayList<String>());
Because, if you look at the type of Map, it can accept any map as value.
Because the assignment of actual arguments to formal arguments in a
method invocation is the same as a normal assignment, this is rejected.
The rest of my answer is correct.
> What you want is
>
[quoted text clipped - 7 lines]
>
> Hope this helps, H.

Signature
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org