下面的机制是什么使得不同的类型?
import static org.testng.Assert.assertEquals;
@Test public void whyThisIsEqual() { assertEquals(new HashSet<>(), new ArrayList<>()); }
java collections testng
collections ×1
java ×1
testng ×1