I remember that UnaryOperator takes a single argument and returns a result, but I'm not sure if it can handle different types like Integer and Double together.
Ugh, I'm not sure about this one. The types seem a bit tricky, and I'm not totally clear on how the stream operations are going to work. I'll need to think it through carefully.
I'm pretty confident I know the answer to this one. The stream is filtering for values greater than or equal to 1500, then doubling those values, so the output should be 4000.0.
Okay, I think I've got this. The UnaryOperator is taking an Integer and returning an Integer, so that should work with the stream. Let me work through the steps.
Glory
3 months agoLynelle
3 months agoAntione
3 months agoLindsay
3 months agoStefanie
4 months agoMirta
4 months agoCora
4 months agoRodolfo
4 months agoEdmond
5 months agoBuffy
5 months agoNoel
5 months agoHelaine
5 months agoKristofer
5 months agoAshley
5 months agoLucina
10 months agoMiss
9 months agoLavera
10 months agoGlenna
10 months agoKeva
11 months agoColeen
11 months agoLarue
11 months agoGregg
9 months agoIzetta
9 months agoZona
9 months agoChun
11 months agoCelestina
11 months agoWai
11 months agoAndra
10 months agoAndra
10 months agoCammy
10 months agoArgelia
10 months agoHuey
10 months agoIrma
11 months ago