-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestIOC.java
More file actions
36 lines (25 loc) · 787 Bytes
/
TestIOC.java
File metadata and controls
36 lines (25 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.dade.ioc;
import org.springframework.context.support.AbstractXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by Dade on 2016/12/27.
*/
public class TestIOC {
// static{
// System.out.println("static!");
// }
// public static void main(String[] args) {
//// System.out.println("main!");
// SuperClass superClass = new BasicClass();
// superClass.say();
// }
public static void main(String... args) {
System.out.println("test!");
List<String> list = new ArrayList<>();
list.add("dade");
list.stream().forEach( v -> System.out.println(v));
}
}