当前位置:网站首页>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
边栏推荐
- Personal thoughts on the development of game automation protocol testing tool
- Basic function exercises
- Fundamentals of database operation
- Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution
- Iptables cause heartbeat brain fissure
- The most ideal automated testing model, how to achieve layering of automated testing
- Notes on writing test points in mind mapping
- Application of slice
- Canoe - the second simulation project -xvihicle1 bus database design (operation)
- Canoe - the third simulation project - bus simulation - 3-2 project implementation
猜你喜欢
[Galaxy Kirin V10] [server] NUMA Technology
Climb Phoenix Mountain on December 19, 2021
[Galaxy Kirin V10] [desktop] FTP common scene setup
Elevator dispatching (pairing project) ④
Simple understanding of seesion, cookies, tokens
Notes on writing test points in mind mapping
Automatic translation between Chinese and English
Global function Encyclopedia
Ten key performance indicators of software applications
Canoe the second simulation engineering xvehicle 3 CAPL programming (operation)
随机推荐
Strings and characters
No response after heartbeat startup
Elevator dispatching (pairing project) ③
Postman advanced
Canoe - description of common database attributes
The last month before a game goes online
Heartbeat启动后无反应
Function introduction of canbedded component
Deepmind proposed a Zuan AI, which specially outputs network attack language
Detailed array expansion analysis --- take you step by step analysis
First article
[Galaxy Kirin V10] [server] FTP introduction and common scenario construction
Canoe - the third simulation project - bus simulation - 3-1 project implementation
Appscan installation error: unable to install from Net runtime security policy logout appscan solution
[advantages and disadvantages of outsourcing software development in 2022]
thread
Canoe - the second simulation project -xvihicle1 bus database design (operation)
Software testing related resources
SQL greatest() function instance detailed example
Safety testing aspects