I have this List<Employees>
with 2 attributes for example:
Long ID
String Name
I want to have a stream that check if all employees in that list has the same ID. How can I do that in stream?
I have this List<Employees>
with 2 attributes for example:
Long ID
String Name
I want to have a stream that check if all employees in that list has the same ID. How can I do that in stream?