I am trying to do a stream() filter to only pull records where the string FedwireTagLabel field is greater than "1520". here is the code that I currently have:
FedwireMessage filterFinancials = financialMessageRecords.stream()
.filter(e -> e.getFedwireTagLabel() >= "1520")
.findAny()
.orElse(null);
This is an error. Do you know what is the processing in stream().filter() that you can do for a greater than or equal to on a string field?
Thanks again