我需要获取员工姓名包含“kumar”且年龄大于26岁的员worker数。我正在使用Java8流遍历集合,并且我能够通过上述方式找到员worker数条件。但是,与此同时,我需要打印员工详细信息。这是我使用Java8流的代码:publicstaticvoidmain(String[]args){ListempList=newArrayList();empList.add(newEmployee("johnkumar",25));empList.add(newEmployee("raja",28));empList.add(newEmployee("harikumar",30));longc