java 8 : how to find a element property in a list matching to a value code example
Example: java stream find specific element
Customer james = customers.stream()
.filter(customer -> "James".equals(customer.getName()))
.findAny()
.orElse(null);