In Java 7 diamond operator was introduced so instead of writing all of this:
Map<String, List<String>> a = new HashMap<String, List<String>>();
We can write this:
Having the ability to add some function to basically any class can be really helpful in a lot of situations.
Languages like C# or Gosu have this ability from long time ago and now you can use this on JVM with Kotlin.