Learn Java Stream from SQL Query : Condition
Maret 12, 2018Condition is controll of logic. We can choice because we have condition which one is better.

I promise to posting WHERE condition today. Java Stream is provided filter condition too. It more easy when you remember many condition in Java Programming like below.
String :
contains("some") : LIKE "%some%"equals("some") : LIKE "some"
Numberic :
i > 5 : i > 5
easy right. Let practice with real java code.
Explanation :
filter(condition)
here condition is use s->s.getName(). s letter is replacable with any letter and arrow is to get what s public method. Some example is like fruitList you can add f->f.getColor() .
Next I will show about DISTINCT
Next I will show about DISTINCT
0 komentar