Updated Java code example standards (markdown)
Add handle() method as an alternative terminal stage that needs to return a value to the calling code.