one typo. In summary of chapter 4 in Optional paragraph there should be getAsDouble(), getAsInt(), getAsLong() as method names.
I think it's nicely constistent with the rest of the new API - IntSupplier for instance. Just the way I remember it ;-)
Jeanne Boyarsky wrote:Agreed and noted. Good catch!
Hi Jeanne, in the sentence before, the phrase "There are three optional types for primitives: DoubleSupplier, IntSupplier and LongSupplier" should be replaced with "OptionalDouble, OptionalInt, OptionalLong", I think.