Package org.dmfs.jems2.optional
Class Mapped<From,To>
java.lang.Object
org.dmfs.jems2.optional.Mapped<From,To>
- All Implemented Interfaces:
Optional<To>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Mapped
-
-
Method Details
-
isPresent
public boolean isPresent()Description copied from interface:OptionalReturns whether the optional value is present. -
value
Description copied from interface:OptionalReturns the optional value.- Specified by:
valuein interfaceOptional<From>- Throws:
NoSuchElementException- if the optional value is not present.
-