SHARE
TWEET

Untitled

a guest Mar 19th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. final Option<Car> ourShinyCar =
  2.   body().flatMap(
  3.     b -> engine().flatMap(
  4.       e -> wheels().map(
  5.         w -> new Car(b, e, w)
  6.       )
  7.    )
  8.  );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top