Re: Ideas on cache

2008-02-13 Thread Igor Vaynberg
> > this style of code also has a single return point: > > > > V v=cache.get(k); > > if (v==null) { > > v=new V(); > > cache.put(k,v); > > } > > return v; > > > > its just coding preference, we seem to like the example above more. > > > > -igor > > > > -- > View this message in context: > http://www.nabble.com/Ideas-on-cache-tp15452545p15469853.html > > Sent from the Wicket - Dev mailing list archive at Nabble.com. > >

Re: Ideas on cache

2008-02-13 Thread Ned Collyer
re. > > -igor > -- View this message in context: http://www.nabble.com/Ideas-on-cache-tp15452545p15469853.html Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: Ideas on cache

2008-02-13 Thread Igor Vaynberg
ng to think about.. perhaps. (or i miss something). I > don't profess to know what I'm talking about. > > Thanks for making such a great framework. > -- > View this message in context: > http://www.nabble.com/Ideas-on-cache-tp15452545p15452545.html > Sent from the Wicket - Dev mailing list archive at Nabble.com. > >

Ideas on cache

2008-02-13 Thread Ned Collyer
bject. Anyway, just something to think about.. perhaps. (or i miss something). I don't profess to know what I'm talking about. Thanks for making such a great framework. -- View this message in context: http://www.nabble.com/Ideas-on-cache-tp15452545p15452545.html Sent from the Wicket