Commit 5efb5f5d authored by mohamad's avatar mohamad

this package is not working until now, because of the deadline

parent 68af91d5
package fibonacciSeries.abstractions;
package fibonacci_series.abstractions;
public interface IFibonacciCalculator {
long calculate(long number);
......
package fibonacciSeries.abstractions;
package fibonacci_series.abstractions;
import fibonacciSeries.utilities.FibonacciStructure;
import fibonacci_series.utilities.FibonacciStructure;
import java.util.List;
......
package fibonacciSeries.abstractions;
package fibonacci_series.abstractions;
import fibonacciSeries.utilities.FibonacciStructureEvaluator;
import fibonacci_series.utilities.FibonacciStructureEvaluator;
public interface IFibonacciRangeCalculatorMultiThreaded {
FibonacciStructureEvaluator calculate(long start, long end,int numberOfThreads);
......
package fibonacciSeries.implementation.item;
package fibonacci_series.implementation.item;
import fibonacciSeries.abstractions.IFibonacciCalculator;
import fibonacci_series.abstractions.IFibonacciCalculator;
public class MathFibonacciCalculator implements IFibonacciCalculator {
@Override
......
package fibonacciSeries.implementation.item;
package fibonacci_series.implementation.item;
import fibonacciSeries.abstractions.IFibonacciCalculator;
import fibonacci_series.abstractions.IFibonacciCalculator;
public class NormalFibonacciCalculator implements IFibonacciCalculator {
@Override
......
package fibonacciSeries.implementation.item;
package fibonacci_series.implementation.item;
import fibonacciSeries.abstractions.IFibonacciCalculator;
import fibonacci_series.abstractions.IFibonacciCalculator;
public class ParallelFibonacciCalculator implements IFibonacciCalculator {
@Override
......
package fibonacciSeries.implementation.range;
package fibonacci_series.implementation.range;
import fibonacciSeries.abstractions.IFibonacciRangeCalculator;
import fibonacciSeries.utilities.FibonacciStructure;
import fibonacciSeries.utilities.FibonacciStructureService;
import fibonacciSeries.utilities.IFibonacciStructureService;
import fibonacci_series.abstractions.IFibonacciRangeCalculator;
import fibonacci_series.utilities.FibonacciStructure;
import fibonacci_series.utilities.FibonacciStructureService;
import fibonacci_series.utilities.IFibonacciStructureService;
import java.util.ArrayList;
import java.util.List;
......
package fibonacciSeries.runners;
package fibonacci_series.runners;
import fibonacciSeries.abstractions.IFibonacciCalculator;
import fibonacciSeries.abstractions.IFibonacciRangeCalculator;
import fibonacciSeries.implementation.item.MathFibonacciCalculator;
import fibonacciSeries.implementation.range.FibonacciRangeCalculatorUsingStructure;
import fibonacciSeries.utilities.FibonacciStructure;
import fibonacci_series.abstractions.IFibonacciRangeCalculator;
import fibonacci_series.implementation.range.FibonacciRangeCalculatorUsingStructure;
import fibonacci_series.utilities.FibonacciStructure;
import java.util.List;
......
package fibonacciSeries.utilities;
package fibonacci_series.utilities;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
......
package fibonacciSeries.utilities;
package fibonacci_series.utilities;
public class FibonacciStructure {
private Long _xParameter;
......
package fibonacciSeries.utilities;
import java.util.List;
package fibonacci_series.utilities;
public class FibonacciStructureEvaluator {
}
package fibonacciSeries.utilities;
package fibonacci_series.utilities;
public class FibonacciStructureService implements IFibonacciStructureService {
......
package fibonacciSeries.utilities;
package fibonacci_series.utilities;
public interface IFibonacciStructureService {
FibonacciStructure add(FibonacciStructure first,FibonacciStructure second);
......
package fibonacciSeries.utilities;
package fibonacci_series.utilities;
import fibonacciSeries.abstractions.IFibonacciRangeCalculator;
import fibonacci_series.abstractions.IFibonacciRangeCalculator;
public class RunnableFibonacciRangeCalculator implements Runnable{
private IFibonacciRangeCalculator _rangeCalculator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment