Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Projet GORDYJAN_BAGNOLY_GARCIA_POIGNONNEC
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
POIGNONNEC
Projet GORDYJAN_BAGNOLY_GARCIA_POIGNONNEC
Commits
97b957a8
Commit
97b957a8
authored
May 13, 2019
by
Théo GORDYJAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add all the options
parent
96a0604c
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
215 additions
and
45 deletions
+215
-45
workspace.xml
garage/.idea/workspace.xml
+151
-44
Aircon.java
garage/src/Option/Aircon.java
+12
-0
CareerBars.java
garage/src/Option/CareerBars.java
+11
-0
ElectricGlass.java
garage/src/Option/ElectricGlass.java
+12
-0
GPS.java
garage/src/Option/GPS.java
+12
-0
HotSeat.java
garage/src/Option/HotSeat.java
+13
-0
Option.java
garage/src/Option/Option.java
+4
-1
No files found.
garage/.idea/workspace.xml
View file @
97b957a8
This diff is collapsed.
Click to expand it.
garage/src/Option/Aircon.java
0 → 100644
View file @
97b957a8
package
Option
;
public
class
Aircon
implements
Option
{
public
double
getPrice
()
{
return
300
d
;
}
public
String
toString
()
{
return
"Aircon ("
+
this
.
getPrice
()
+
" €)"
;
}
}
garage/src/Option/CareerBars.java
0 → 100644
View file @
97b957a8
package
Option
;
public
class
CareerBars
implements
Option
{
public
double
getPrice
()
{
return
100
;
}
public
String
toString
()
{
return
"Career bars ("
+
this
.
getPrice
()
+
" €)"
;
}
}
garage/src/Option/ElectricGlass.java
0 → 100644
View file @
97b957a8
package
Option
;
public
class
ElectricGlass
implements
Option
{
public
double
getPrice
()
{
return
200
d
;
}
public
String
toString
()
{
return
"Electric glass ("
+
this
.
getPrice
()
+
" €)"
;
}
}
garage/src/Option/GPS.java
0 → 100644
View file @
97b957a8
package
Option
;
public
class
GPS
implements
Option
{
public
double
getPrice
()
{
return
50
d
;
}
public
String
toString
()
{
return
"GPS ("
+
this
.
getPrice
()
+
" €)"
;
}
}
garage/src/Option/HotSeat.java
0 → 100644
View file @
97b957a8
package
Option
;
public
class
HotSeat
implements
Option
{
public
double
getPrice
()
{
return
150
d
;
}
public
String
toString
()
{
return
"Hot seat ("
+
this
.
getPrice
()
+
" €)"
;
}
}
}
garage/src/Option/Option.java
View file @
97b957a8
package
Option
;
public
class
Option
{
public
interface
Option
{
double
getPrice
();
String
toString
();
}
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