Is there an equivalent to LINQ
in java 8?
Did lambda
expression fill this role?
Java's Stream API is the closest thing to .NET's LINQ, in the sense that it allows you to query/manipulate collections in a functional style.
No, lambda expressions are not LINQ equivalent. LINQ (at least parts of it) uses lamba expressions for some functionality. But they're fundamentally different things.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With