Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我只想从集合中获取名称: users(name, password, age, email) ,结果类型应该是List<String> 我不想foreach用来更改List<User>为List<String>
List<String>
foreach
List<User>