And Note: The key here is the focus on use as a return type. The class is definitively not intended for use as a property of a Java Bean. Witness to this is that Optional does not implement Serializable, which is generally necessary for widespread use as a property of an object.
If you really wonder what will change in your life with this new Stolen keyword (from Guava) you'd better to read its origin.
More code & less bullshit.. Lets see its usage then..
And you can use in streams as follows
No comments:
Post a Comment