@@ -0,0 +1,658 @@
+package com.nick.love.myra;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Apublic class TestTypeInference %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A       List%3CString%3E list = new ArrayList%3C%3E();%0A       list.add(%22I love Myra.%22);%0A       list.add(%22My girlfriend is Myra.%22);%0A       %0A       // Java8 %E4%B8%AD%E7%9A%84%E8%AF%AD%E6%B3%95%0A       // list.addAll() %E9%9C%80%E8%A6%81%E7%9A%84%E5%8F%82%E6%95%B0%E7%B1%BB%E5%9E%8B%E6%98%AF Collection%3C? extends String%3E,%0A       // Arrays.asList() %E7%9A%84%E8%BF%94%E5%9B%9E%E5%80%BC%E6%98%AF List%3CT%3E%EF%BC%8C %0A       // %E8%BF%99%E9%87%8C%E7%9A%84 T %E5%B0%B1%E6%98%AF%E6%A0%B9%E6%8D%AE Collection%3C? extends String%3E %E6%8E%A8%E6%96%AD%E5%87%BA%E6%98%AF String%0A       list.addAll(Arrays.asList());%0A       %0A       // Java7 %E4%B8%AD%E7%9A%84%E8%AF%AD%E6%B3%95%0A       list.addAll(Arrays.%3CString%3EasList());%0A       %0A       System.out.println(list);%0A%09%7D%0A%0A%7D%0A

Create TestTypeInference.java