Package com.vaadin.signals.function
Interface SignalMapper<T,R>
- Type Parameters:
T- the input signal typeR- the output signal type
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Transforms a signal value into another value, creating a derived signal. The
transformation is applied every time the signal value is read.
The mapper can access other signal values during transformation, making the resulting signal depend on those signals as well.
- See Also:
-
Method Summary
-
Method Details
-
map
Applies this mapper to transform a signal value.- Parameters:
value- the input value, may benull- Returns:
- the transformed value, may be
null
-