TweetSick of repeating your generics declaration?Sick of repeating your generics declaration? For a quick and easy way to create a collection of objects you can do the below. Create yourself a util class: Then each time you only need to declare your generics once. This is due to Type Inference. Inspired by Joshua Bloch’s – [...]
↧