Playing with java 7 features