Is there an equivalent to LINQ in java 8?
Did lambda expression fill this role?
            Asked
            
        
        
            Active
            
        
            Viewed 1.8k times
        
    6
            
            
         
    
    
        Omar.Nassar
        
- 379
- 1
- 3
- 14
 
    
    
        Zied.Jabnoun
        
- 140
- 1
- 2
- 10
2 Answers
14
            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.
 
    
    
        dcastro
        
- 66,540
- 21
- 145
- 155
7
            
            
        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.
- Lambda expressions: expressions used as anonymous functions
- LINQ: Language integrated query.
 
    
    
        Pablo Santa Cruz
        
- 176,835
- 32
- 241
- 292
- 
                    Can you provide some more explanation as to why they are different? Their syntax looks very similar. – Quazi Irfan May 17 '18 at 07:41