org.omnaest.utils.operation.decorator
Class OperationDecorator<RESULT,PARAMETER>
java.lang.Object
org.omnaest.utils.operation.decorator.OperationDecorator<RESULT,PARAMETER>
- Type Parameters:
RESULT - PARAMETER -
- All Implemented Interfaces:
- Operation<RESULT,PARAMETER>
- Direct Known Subclasses:
- OperationDecoratorReentrantLock
public abstract class OperationDecorator<RESULT,PARAMETER>
- extends Object
- implements Operation<RESULT,PARAMETER>
Abstract decorator for an Operation
- Author:
- Omnaest
- See Also:
Operation
operation
protected Operation<RESULT,PARAMETER> operation
OperationDecorator
public OperationDecorator(Operation<RESULT,PARAMETER> operation)
- Parameters:
operation -
setOperation
public void setOperation(Operation<RESULT,PARAMETER> operation)
- Parameters:
operation -
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.