(String[] args)
| 14 | } |
| 15 | |
| 16 | public static void main(String[] args) { |
| 17 | List<String> argList = Arrays.asList(args); |
| 18 | List<Streams> list = argList.stream() |
| 19 | .map(Streams::new) |
| 20 | .collect(Collectors.toList()); |
| 21 | Streams st = list.get(0); |
| 22 | String s = st.arg; |
| 23 | } |
| 24 | } |