title: What does a tilde in angle brackets mean when creating a Java generic class?
body: <p>I was reading through some JMockit examples and found this code:</p>
  
  <pre><code>final List&lt;OrderItem&gt; actualItems = new ArrayList&lt;~&gt;();
  </code></pre>
  
  <p>What does the tilde in the generic identifier mean? I know it's the unary bitwise NOT operator, but I don't see an operand here.</p>
  
  <p>Also, I tried compiling it and got an error. Am I just missing something?</p>