Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
Lab1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohamad.alturky
Lab1
Commits
5efb5f5d
Commit
5efb5f5d
authored
Oct 31, 2023
by
mohamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this package is not working until now, because of the deadline
parent
68af91d5
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
30 additions
and
28 deletions
+30
-28
IFibonacciCalculator.java
...a/fibonacci_series/abstractions/IFibonacciCalculator.java
+1
-1
IFibonacciRangeCalculator.java
...onacci_series/abstractions/IFibonacciRangeCalculator.java
+2
-2
IFibonacciRangeCalculatorMultiThreaded.java
.../abstractions/IFibonacciRangeCalculatorMultiThreaded.java
+2
-2
MathFibonacciCalculator.java
...i_series/implementation/item/MathFibonacciCalculator.java
+2
-2
NormalFibonacciCalculator.java
...series/implementation/item/NormalFibonacciCalculator.java
+2
-2
ParallelFibonacciCalculator.java
...ries/implementation/item/ParallelFibonacciCalculator.java
+2
-2
FibonacciRangeCalculatorMultiThreaded.java
...entation/range/FibonacciRangeCalculatorMultiThreaded.java
+0
-0
FibonacciRangeCalculatorUsingStructure.java
...ntation/range/FibonacciRangeCalculatorUsingStructure.java
+5
-5
Main.java
src/main/java/fibonacci_series/runners/Main.java
+4
-6
BenchMarked.java
src/main/java/fibonacci_series/utilities/BenchMarked.java
+1
-1
FibonacciStructure.java
...n/java/fibonacci_series/utilities/FibonacciStructure.java
+1
-1
FibonacciStructureEvaluator.java
...bonacci_series/utilities/FibonacciStructureEvaluator.java
+4
-0
FibonacciStructureService.java
...fibonacci_series/utilities/FibonacciStructureService.java
+1
-1
IFibonacciStructureService.java
...ibonacci_series/utilities/IFibonacciStructureService.java
+1
-1
RunnableFibonacciRangeCalculator.java
...ci_series/utilities/RunnableFibonacciRangeCalculator.java
+2
-2
No files found.
src/main/java/
FibonacciS
eries/abstractions/IFibonacciCalculator.java
→
src/main/java/
fibonacci_s
eries/abstractions/IFibonacciCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
abstractions
;
package
fibonacci
_s
eries
.
abstractions
;
public
interface
IFibonacciCalculator
{
long
calculate
(
long
number
);
...
...
src/main/java/
FibonacciS
eries/abstractions/IFibonacciRangeCalculator.java
→
src/main/java/
fibonacci_s
eries/abstractions/IFibonacciRangeCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
abstractions
;
package
fibonacci
_s
eries
.
abstractions
;
import
fibonacci
S
eries.utilities.FibonacciStructure
;
import
fibonacci
_s
eries.utilities.FibonacciStructure
;
import
java.util.List
;
...
...
src/main/java/
FibonacciS
eries/abstractions/IFibonacciRangeCalculatorMultiThreaded.java
→
src/main/java/
fibonacci_s
eries/abstractions/IFibonacciRangeCalculatorMultiThreaded.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
abstractions
;
package
fibonacci
_s
eries
.
abstractions
;
import
fibonacci
S
eries.utilities.FibonacciStructureEvaluator
;
import
fibonacci
_s
eries.utilities.FibonacciStructureEvaluator
;
public
interface
IFibonacciRangeCalculatorMultiThreaded
{
FibonacciStructureEvaluator
calculate
(
long
start
,
long
end
,
int
numberOfThreads
);
...
...
src/main/java/
FibonacciS
eries/implementation/item/MathFibonacciCalculator.java
→
src/main/java/
fibonacci_s
eries/implementation/item/MathFibonacciCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
implementation
.
item
;
package
fibonacci
_s
eries
.
implementation
.
item
;
import
fibonacci
S
eries.abstractions.IFibonacciCalculator
;
import
fibonacci
_s
eries.abstractions.IFibonacciCalculator
;
public
class
MathFibonacciCalculator
implements
IFibonacciCalculator
{
@Override
...
...
src/main/java/
FibonacciS
eries/implementation/item/NormalFibonacciCalculator.java
→
src/main/java/
fibonacci_s
eries/implementation/item/NormalFibonacciCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
implementation
.
item
;
package
fibonacci
_s
eries
.
implementation
.
item
;
import
fibonacci
S
eries.abstractions.IFibonacciCalculator
;
import
fibonacci
_s
eries.abstractions.IFibonacciCalculator
;
public
class
NormalFibonacciCalculator
implements
IFibonacciCalculator
{
@Override
...
...
src/main/java/
FibonacciS
eries/implementation/item/ParallelFibonacciCalculator.java
→
src/main/java/
fibonacci_s
eries/implementation/item/ParallelFibonacciCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
implementation
.
item
;
package
fibonacci
_s
eries
.
implementation
.
item
;
import
fibonacci
S
eries.abstractions.IFibonacciCalculator
;
import
fibonacci
_s
eries.abstractions.IFibonacciCalculator
;
public
class
ParallelFibonacciCalculator
implements
IFibonacciCalculator
{
@Override
...
...
src/main/java/
FibonacciS
eries/implementation/range/FibonacciRangeCalculatorMultiThreaded.java
→
src/main/java/
fibonacci_s
eries/implementation/range/FibonacciRangeCalculatorMultiThreaded.java
View file @
5efb5f5d
File moved
src/main/java/
FibonacciS
eries/implementation/range/FibonacciRangeCalculatorUsingStructure.java
→
src/main/java/
fibonacci_s
eries/implementation/range/FibonacciRangeCalculatorUsingStructure.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
implementation
.
range
;
package
fibonacci
_s
eries
.
implementation
.
range
;
import
fibonacci
S
eries.abstractions.IFibonacciRangeCalculator
;
import
fibonacci
S
eries.utilities.FibonacciStructure
;
import
fibonacci
S
eries.utilities.FibonacciStructureService
;
import
fibonacci
S
eries.utilities.IFibonacciStructureService
;
import
fibonacci
_s
eries.abstractions.IFibonacciRangeCalculator
;
import
fibonacci
_s
eries.utilities.FibonacciStructure
;
import
fibonacci
_s
eries.utilities.FibonacciStructureService
;
import
fibonacci
_s
eries.utilities.IFibonacciStructureService
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
src/main/java/
FibonacciS
eries/runners/Main.java
→
src/main/java/
fibonacci_s
eries/runners/Main.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
runners
;
package
fibonacci
_s
eries
.
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
;
...
...
src/main/java/
FibonacciS
eries/utilities/BenchMarked.java
→
src/main/java/
fibonacci_s
eries/utilities/BenchMarked.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
utilities
;
package
fibonacci
_s
eries
.
utilities
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
...
...
src/main/java/
FibonacciS
eries/utilities/FibonacciStructure.java
→
src/main/java/
fibonacci_s
eries/utilities/FibonacciStructure.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
utilities
;
package
fibonacci
_s
eries
.
utilities
;
public
class
FibonacciStructure
{
private
Long
_xParameter
;
...
...
src/main/java/
FibonacciS
eries/utilities/FibonacciStructureEvaluator.java
→
src/main/java/
fibonacci_s
eries/utilities/FibonacciStructureEvaluator.java
View file @
5efb5f5d
package
fibonacciSeries
.
utilities
;
import
java.util.List
;
package
fibonacci_series
.
utilities
;
public
class
FibonacciStructureEvaluator
{
}
src/main/java/
FibonacciS
eries/utilities/FibonacciStructureService.java
→
src/main/java/
fibonacci_s
eries/utilities/FibonacciStructureService.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
utilities
;
package
fibonacci
_s
eries
.
utilities
;
public
class
FibonacciStructureService
implements
IFibonacciStructureService
{
...
...
src/main/java/
FibonacciS
eries/utilities/IFibonacciStructureService.java
→
src/main/java/
fibonacci_s
eries/utilities/IFibonacciStructureService.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
utilities
;
package
fibonacci
_s
eries
.
utilities
;
public
interface
IFibonacciStructureService
{
FibonacciStructure
add
(
FibonacciStructure
first
,
FibonacciStructure
second
);
...
...
src/main/java/
FibonacciS
eries/utilities/RunnableFibonacciRangeCalculator.java
→
src/main/java/
fibonacci_s
eries/utilities/RunnableFibonacciRangeCalculator.java
View file @
5efb5f5d
package
fibonacci
S
eries
.
utilities
;
package
fibonacci
_s
eries
.
utilities
;
import
fibonacci
S
eries.abstractions.IFibonacciRangeCalculator
;
import
fibonacci
_s
eries.abstractions.IFibonacciRangeCalculator
;
public
class
RunnableFibonacciRangeCalculator
implements
Runnable
{
private
IFibonacciRangeCalculator
_rangeCalculator
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment