I was reading through some JMockit examples and found this code:
final List actualItems = new ArrayList<~>();
What d
If there wasn't a tilde, I'd say, the code was already Java 7. Java 7 allows the diamond operator so this is/will be legal Java code:
Map> map = new HashMap<>();
(but - no tilde with this syntax)