Just like C# provides me LINQ, is there any package or pre-processor in Java?
            Asked
            
        
        
            Active
            
        
            Viewed 367 times
        
    2 Answers
2
            
            
        Uhm... yes! See https://github.com/nicholas22/jpropel-light
  // create alphabet char[]
  new Character('A').to(new Character('Z')).unbox();
  // join two arrays and put in list 
  alphabet.join(numerics).toList(); 
  // select distinct j* names, using LINQ-style statements
  new String[] { "james", "john", "john", "eddie" }.where(startsWith("j")).distinct();
 
    
    
        NT_
        
- 2,660
- 23
- 25
 
     
    