whereType<R> abstract method

Optional<R> whereType<R>()

Casts the present value of this Optional to R, otherwise returns an absent Optional.

Implementation

Optional<R> whereType<R>();