Re: [COLLECTIONS] TransformedCollection generic signature seems wrong

2010-10-20 Thread Matt Benson
On Oct 19, 2010, at 1:14 PM, sebb wrote: > On 19 October 2010 14:44, Matt Benson wrote: >> >> On Oct 19, 2010, at 7:00 AM, sebb wrote: >> >>> I'm trying to get my head round the generic signature of the >>> decorate() method, for example in TransformedCollection: >>> >>> public static Collec

Re: [COLLECTIONS] TransformedCollection generic signature seems wrong

2010-10-19 Thread sebb
On 19 October 2010 14:44, Matt Benson wrote: > > On Oct 19, 2010, at 7:00 AM, sebb wrote: > >> I'm trying to get my head round the generic signature of the >> decorate() method, for example in TransformedCollection: >> >> public static Collection decorate(Collection coll, >> Transformer transform

Re: [COLLECTIONS] TransformedCollection generic signature seems wrong

2010-10-19 Thread Matt Benson
On Oct 19, 2010, at 7:00 AM, sebb wrote: > I'm trying to get my head round the generic signature of the > decorate() method, for example in TransformedCollection: > > public static Collection decorate(Collection coll, > Transformer transformer) > > This does not seem to allow one to transform

[COLLECTIONS] TransformedCollection generic signature seems wrong

2010-10-19 Thread sebb
I'm trying to get my head round the generic signature of the decorate() method, for example in TransformedCollection: public static Collection decorate(Collection coll, Transformer transformer) This does not seem to allow one to transform String into Integer (or vice-versa) without ignoring type