2 ms·
>if you use ifPresent(), you have to live with the fact that you cannot return from Java lambdas That's what map/flatMap is for, ifPresent is really only usefu
by wcummings 11y ago
>if you use ifPresent(), you have to live with the fact that you cannot return from Java lambdas
That's what map/flatMap is for, ifPresent is really only useful for side-effects.