Monthly Archives: February 2010

Using <? extends T> and <? super T> for reduce style functions that operate on collections

One of the cases I’ve had to deal with in gwt-pectin is creating Reduce style functions that operate on a collection of values.  The basic idea is to define interface of the form. public interface Reduce<R,T> { R reduce(List<T> source); } … Continue reading 

Posted in Development, GWT | Leave a comment