Given the code fragment:
UnaryOperator<Double> uo1 = s -> s*2; //line n1
List<Double> loanValues = Arrays.asList(1000.0, 2000.0);
loanValues.stream()
.filter(lv -> lv >= 1500)
.map(lv -> uo1.apply(lv)) //line n2
.forEach(s -> System.out.print(s + " "));
What is the result?
Abdullah_Rahahleah
Highly Voted 4 years agoasdfjhfgjuaDCV
Most Recent 9 months, 3 weeks agoasdfjhfgjuaDCV
9 months, 3 weeks agosteefaand
10 months, 3 weeks agoduydn
1 year, 3 months agoSvetleto13
3 years, 7 months ago