org.almendra.janet.ade.demo.fibonacci
Class FibonacciCommand
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected int input
totalTimes
protected int totalTimes
FibonacciCommand
protected FibonacciCommand()
FibonacciCommand
public FibonacciCommand(int totalTimes)
FibonacciCommand
public FibonacciCommand(int input,
int totalTimes)
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()