T
- the input entity typeMAPPER
- the functional interface used for mapping valuespublic interface HasMapToDoubleIfPresent<T,MAPPER>
null
, then the new expression
will evaluate to null
also.Modifier and Type | Method and Description |
---|---|
ToDoubleNullable<T> |
mapToDoubleIfPresent(MAPPER mapper)
Maps the result of this expression into a
double by passing it to
the specified mapper , producing a new expression that implements
ToDouble . |
ToDoubleNullable<T> mapToDoubleIfPresent(MAPPER mapper)
double
by passing it to
the specified mapper
, producing a new expression that implements
ToDouble
. If this expression would have evaluated to
null
, then the new expression will as well.mapper
- the mapper to use on the result of this expressionCopyright © 2018 Speedment, Inc.. All rights reserved.