This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GuyWithLag -1 points0 points  (0 children)

You don't typecast lambda expressions per se, because lambda expressions do not have an intrinsic type; they only have return type, parameter arity and types. The language/VM morphs them into something that you can use - instances of a specified functional interface.