- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageDecorator
Messagedecoration contract. An implementation may decide to return any
Messageinstance and even a different
Messageimplementation. Usually used to wrap a message in another.
- Artem Bilan