当前位置:网站首页>Foreach (system.out:: println) usage
Foreach (system.out:: println) usage
2022-07-04 11:09:00 【XuXinStu】
Equivalent to enhancement foreach
@SpringBootTest
class MybatisPlusApplicationTests {
@Autowired
private UserMapper userMapper;
@Test
void contextLoads() {
List<User> users = userMapper.selectList(null);
// users.forEach(System.out::println);
for (User user : users) {
System.out.println(user);
}
}
}
Running results
边栏推荐
- Daemon xinted and logging syslogd
- No response after heartbeat startup
- Canoe - the third simulation project - bus simulation - 3-2 project implementation
- 2022 AAAI fellow release! Yan Shuicheng, chief scientist of sail, and Feng Yan, Professor of Hong Kong University of science and technology, were selected
- Cacti主机模板之定制版
- Locust learning record I
- SSH principle and public key authentication
- [testing theory] thinking about testing profession
- QQ get group link, QR code
- Canoe the second simulation engineering xvehicle 3 CAPL programming (operation)
猜你喜欢
Notes on writing test points in mind mapping
[Galaxy Kirin V10] [server] system partition expansion
SQL greatest() function instance detailed example
QQ group collection
TS type gymnastics: illustrating a complex advanced type
OSI model notes
JMeter correlation technology
Elevator dispatching (pairing project) ④
Summary of collection: (to be updated)
Article publishing experiment
随机推荐
Usage of with as
unit testing
Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution
Canoe - the third simulation project - bus simulation - 3-2 project implementation
regular expression
No response after heartbeat startup
Heartbeat报错 attempted replay attack
Climb Phoenix Mountain on December 19, 2021
Aike AI frontier promotion (2.14)
Day7 list and dictionary jobs
Discussion | has large AI become autonomous? Lecun, chief scientist of openai
Terms related to hacker technology
Heartbeat error attempted replay attack
Cacti主机模板之定制版
Application and Optimization Practice of redis in vivo push platform
[advantages and disadvantages of outsourcing software development in 2022]
[Galaxy Kirin V10] [server] NUMA Technology
Performance test method
Get the data of the top 100 headlines today with Tianxing data
Usage of case when then else end statement