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
736a5f4e
Commit
736a5f4e
authored
Oct 31, 2023
by
mohamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this Fibonacci package is not working until now, because of the deadline
parent
5efb5f5d
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
31 additions
and
31 deletions
+31
-31
workspace.xml
.idea/workspace.xml
+4
-4
IFibonacciCalculator.java
...va/fibonacciSeries/abstractions/IFibonacciCalculator.java
+1
-1
IFibonacciRangeCalculator.java
...bonacciSeries/abstractions/IFibonacciRangeCalculator.java
+2
-2
IFibonacciRangeCalculatorMultiThreaded.java
.../abstractions/IFibonacciRangeCalculatorMultiThreaded.java
+2
-2
MathFibonacciCalculator.java
...ciSeries/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/fibonacciSeries/runners/Main.java
+4
-4
BenchMarked.java
src/main/java/fibonacciSeries/utilities/BenchMarked.java
+1
-1
FibonacciStructure.java
...in/java/fibonacciSeries/utilities/FibonacciStructure.java
+1
-1
FibonacciStructureEvaluator.java
...ibonacciSeries/utilities/FibonacciStructureEvaluator.java
+1
-1
FibonacciStructureService.java
.../fibonacciSeries/utilities/FibonacciStructureService.java
+1
-1
IFibonacciStructureService.java
...fibonacciSeries/utilities/IFibonacciStructureService.java
+1
-1
RunnableFibonacciRangeCalculator.java
...cciSeries/utilities/RunnableFibonacciRangeCalculator.java
+2
-2
No files found.
.idea/workspace.xml
View file @
736a5f4e
...
...
@@ -63,12 +63,12 @@
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"fibonacci
S
eries.runners.Main"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"fibonacci
S
eries.runners.Main"
/>
<configuration
name=
"fibonacci
_s
eries.runners.Main"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"fibonacci
_s
eries.runners.Main"
/>
<module
name=
"Lab1"
/>
<extension
name=
"coverage"
>
<pattern>
<option
name=
"PATTERN"
value=
"fibonacci
S
eries.runners.*"
/>
<option
name=
"PATTERN"
value=
"fibonacci
_s
eries.runners.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</extension>
...
...
@@ -95,7 +95,7 @@
<recent_temporary>
<list>
<item
itemvalue=
"JUnit.Tests.testPrimeFinder"
/>
<item
itemvalue=
"Application.fibonacci
S
eries.runners.Main"
/>
<item
itemvalue=
"Application.fibonacci
_s
eries.runners.Main"
/>
<item
itemvalue=
"Application.Main"
/>
</list>
</recent_temporary>
...
...
src/main/java/fibonacci
_s
eries/abstractions/IFibonacciCalculator.java
→
src/main/java/fibonacci
S
eries/abstractions/IFibonacciCalculator.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
abstractions
;
package
fibonacci
S
eries
.
abstractions
;
public
interface
IFibonacciCalculator
{
long
calculate
(
long
number
);
...
...
src/main/java/fibonacci
_s
eries/abstractions/IFibonacciRangeCalculator.java
→
src/main/java/fibonacci
S
eries/abstractions/IFibonacciRangeCalculator.java
View file @
736a5f4e
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/fibonacci
_s
eries/abstractions/IFibonacciRangeCalculatorMultiThreaded.java
→
src/main/java/fibonacci
S
eries/abstractions/IFibonacciRangeCalculatorMultiThreaded.java
View file @
736a5f4e
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/fibonacci
_s
eries/implementation/item/MathFibonacciCalculator.java
→
src/main/java/fibonacci
S
eries/implementation/item/MathFibonacciCalculator.java
View file @
736a5f4e
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/fibonacci
_s
eries/implementation/item/NormalFibonacciCalculator.java
→
src/main/java/fibonacci
S
eries/implementation/item/NormalFibonacciCalculator.java
View file @
736a5f4e
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/fibonacci
_s
eries/implementation/item/ParallelFibonacciCalculator.java
→
src/main/java/fibonacci
S
eries/implementation/item/ParallelFibonacciCalculator.java
View file @
736a5f4e
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/fibonacci
_s
eries/implementation/range/FibonacciRangeCalculatorMultiThreaded.java
→
src/main/java/fibonacci
S
eries/implementation/range/FibonacciRangeCalculatorMultiThreaded.java
View file @
736a5f4e
File moved
src/main/java/fibonacci
_s
eries/implementation/range/FibonacciRangeCalculatorUsingStructure.java
→
src/main/java/fibonacci
S
eries/implementation/range/FibonacciRangeCalculatorUsingStructure.java
View file @
736a5f4e
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/fibonacci
_s
eries/runners/Main.java
→
src/main/java/fibonacci
S
eries/runners/Main.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
runners
;
package
fibonacci
S
eries
.
runners
;
import
fibonacci
_s
eries.abstractions.IFibonacciRangeCalculator
;
import
fibonacci
_s
eries.implementation.range.FibonacciRangeCalculatorUsingStructure
;
import
fibonacci
_s
eries.utilities.FibonacciStructure
;
import
fibonacci
S
eries.abstractions.IFibonacciRangeCalculator
;
import
fibonacci
S
eries.implementation.range.FibonacciRangeCalculatorUsingStructure
;
import
fibonacci
S
eries.utilities.FibonacciStructure
;
import
java.util.List
;
...
...
src/main/java/fibonacci
_s
eries/utilities/BenchMarked.java
→
src/main/java/fibonacci
S
eries/utilities/BenchMarked.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
utilities
;
package
fibonacci
S
eries
.
utilities
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
...
...
src/main/java/fibonacci
_s
eries/utilities/FibonacciStructure.java
→
src/main/java/fibonacci
S
eries/utilities/FibonacciStructure.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
utilities
;
package
fibonacci
S
eries
.
utilities
;
public
class
FibonacciStructure
{
private
Long
_xParameter
;
...
...
src/main/java/fibonacci
_s
eries/utilities/FibonacciStructureEvaluator.java
→
src/main/java/fibonacci
S
eries/utilities/FibonacciStructureEvaluator.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
utilities
;
package
fibonacci
S
eries
.
utilities
;
public
class
FibonacciStructureEvaluator
{
}
src/main/java/fibonacci
_s
eries/utilities/FibonacciStructureService.java
→
src/main/java/fibonacci
S
eries/utilities/FibonacciStructureService.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
utilities
;
package
fibonacci
S
eries
.
utilities
;
public
class
FibonacciStructureService
implements
IFibonacciStructureService
{
...
...
src/main/java/fibonacci
_s
eries/utilities/IFibonacciStructureService.java
→
src/main/java/fibonacci
S
eries/utilities/IFibonacciStructureService.java
View file @
736a5f4e
package
fibonacci
_s
eries
.
utilities
;
package
fibonacci
S
eries
.
utilities
;
public
interface
IFibonacciStructureService
{
FibonacciStructure
add
(
FibonacciStructure
first
,
FibonacciStructure
second
);
...
...
src/main/java/fibonacci
_s
eries/utilities/RunnableFibonacciRangeCalculator.java
→
src/main/java/fibonacci
S
eries/utilities/RunnableFibonacciRangeCalculator.java
View file @
736a5f4e
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