sorted in stream is not applicable Languages

sorted in stream is not applicable

I have this piece of Java8 code:But I have this compilation error and I don't know why:To expand upon Joe's answer, it seems like you want a Set<Purchase> in sorted order (for whatever reason that may be), given you have a good reason to do so in which case you...
Read More