Re: [T5] Help getting generics to work

2008-03-08 Thread Howard Lewis Ship
{return instance;} > >> public void setInstance(T instance) {this.instance = instance;} > >> } > >> > >> > >> public class Test > >> { > >> int id; >

Re: [T5] Help getting generics to work

2008-03-07 Thread buckofive
e; >> } >> >> public T getInstance() {return instance;} >> public void setInstance(T instance) {this.instance = instance;} >> } >> >> >> public class Test >> { >> int id; >> public Test(int id) >>

Re: [T5] Help getting generics to work

2008-03-06 Thread Howard Lewis Ship
> int id; > public Test(int id) > { > this.id = id; > } > public int getId() {return id;} > public void setId(int id) {this.id = id;} > } > > Start.tml: > > Java 1.5 Generics Test: ${genericsTe

Help getting generics to work

2008-03-06 Thread buckofive
s.id = id; } public int getId() {return id;} public void setId(int id) {this.id = id;} } Start.tml: Java 1.5 Generics Test: ${genericsTest.instance.id} -- View this message in context: http://www.nabble.com/Help-getting-generics-to-work-tp1588552