river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Wonderly <gr...@wonderly.org>
Subject Re: Migration to Java 5
Date Wed, 01 Apr 2009 20:40:40 GMT
James Grahn wrote:
> Actually, Gregg, what I had in mind was this:
> public <T extends Entry> T read(T template, Transaction txn, long timeout)

I always forget about that very handy way to restrict parameters and return 
values to the same type.  That will be a useful way to help manage that the 
types are in the right hierarchy.

Gregg Wonderly

View raw message