P
- the type of the products to decorate.public interface Decorator<P> extends Function<P>
Implementations should be thread-safe.
Modifier and Type | Method and Description |
---|---|
P |
apply(P product)
Possibly decorates the given
product and returns the result,
leaving the given product unmodified. |
Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.