nenok.net.task
Class Inverse

java.lang.Object
  extended by nenok.net.task.Inverse
All Implemented Interfaces:
Serializable, Task

public final class Inverse
extends Object
implements Task

Command design pattern class for the division operation.

Version:
1.1
Author:
Marc Pouly
See Also:
Serialized Form

Constructor Summary
protected Inverse(Locator factor)
          Constructor:
 
Method Summary
 Envelope execute()
          Execution method of the COMMAND design pattern.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Inverse

protected Inverse(Locator factor)
Constructor:

Parameters:
factor - The factor whose inverse is computed.
Method Detail

execute

public Envelope execute()
                 throws RemoteException,
                        VAException
Description copied from interface: Task
Execution method of the COMMAND design pattern.

Specified by:
execute in interface Task
Returns:
The envelope containing the task's result.
Throws:
RemoteException - Exception caused when remote processors are accessed.
VAException - Exception caused by illegal valuation algebra operations.
See Also:
Task.execute()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()