On May 12, 2009, at 4:40 AM, Jeremias Maerki wrote:
> Collection<Representation> getRepresentations();
Ain't Java generics fun. Here is the version of the same design that
will be allowed to compile:
Interface: Collection<? extends Representation>
getRepresentations();
Implementation: Collection<RepresentationImpl> getRepresentations()
{..}
Andrus
This archive was generated by hypermail 2.0.0 : Wed May 13 2009 - 13:27:39 EDT