Aug 6, 2012

Java Generics and Extreme Sports

If you've every used generics in Java and thought that
public abstract class Enum<E extends Enum<E>> implements Comparable<E>, Serializable sends your neural synapses into an infinite loop, check this example out, courtesy of Spring Data: http://blog.springsource.org/2012/08/03/the-most-amazing-java-type-declaration-ever/