(Forward Port Validation) +act,sam,doc #3940 Added receive setter for Java Lambda actors

Only for PR validation

* Added a setter for Java lambda actors to "hide" the not so nice looking type
signature of the "receive" method.
* Updated docs to reflect the changes.
* Converted samples to use the new setter.