org.almendra.janet.ade.demo.fibonacci
Class FibonacciCommand

java.lang.Object
  extended by org.almendra.janet.ade.demo.fibonacci.FibonacciCommand
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FibonacciBalancingCommand, FibonacciSharingCommand

public abstract class FibonacciCommand
extends java.lang.Object
implements java.io.Serializable

Author:
Oliver Plohmann
See Also:
Serialized Form

Field Summary
protected  int input
           
protected  int totalTimes
           
 
Constructor Summary
protected FibonacciCommand()
           
  FibonacciCommand(int totalTimes)
           
  FibonacciCommand(int input, int totalTimes)
           
 
Method Summary
 java.lang.Object clone()
           
 int getInput()
           
 int getPriority()
           
 int getTotalTimes()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

protected int input

totalTimes

protected int totalTimes
Constructor Detail

FibonacciCommand

protected FibonacciCommand()

FibonacciCommand

public FibonacciCommand(int totalTimes)

FibonacciCommand

public FibonacciCommand(int input,
                        int totalTimes)
Method Detail

getInput

public int getInput()
Returns:
Returns the input.

getTotalTimes

public int getTotalTimes()
Returns:
Returns the totalTimes.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getPriority

public int getPriority()