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 3 years, 7 months agoasdfjhfgjuaDCV
Most Recent 4 months, 3 weeks agoasdfjhfgjuaDCV
4 months, 3 weeks agosteefaand
5 months, 3 weeks agoduydn
10 months, 2 weeks agoSvetleto13
3 years, 2 months ago