摘要:
public class Testal { @Test //函数式 创建对象交给Spring 管理。 public void Test2(){ GenericApplicationContext te = new GenericApplicationContext(); te.refresh(); 阅读全文
摘要:
public class TestMap { @Test public void test7(){ Map map = new HashMap<>(); map.put("aa",123); map.put("bb",1234); map.put("cc",1245); //1. 此时输出的全是值 阅读全文
摘要:
public class Come { @Test public void Mytest(){ Collection co = new ArrayList(); co.add("aa"); co.contains( new Person(14,"Tom")); boolean coll = co.c 阅读全文