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
182093b9
Commit
182093b9
authored
May 14, 2019
by
Gaetan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implémentation de la classe garage
parent
03eab045
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
5 deletions
+76
-5
compiler.xml
.idea/compiler.xml
+9
-0
geometry.iml
.idea/geometry.iml
+1
-1
misc.xml
.idea/misc.xml
+1
-1
modules.xml
.idea/modules.xml
+0
-2
geometry.main.iml
.idea/modules/geometry.main.iml
+10
-0
geometry.test.iml
.idea/modules/geometry.test.iml
+14
-0
Garage.java
garage/src/garage/Garage.java
+41
-1
No files found.
.idea/compiler.xml
0 → 100644
View file @
182093b9
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"CompilerConfiguration"
>
<bytecodeTargetLevel>
<module
name=
"geometry.main"
target=
"1.8"
/>
<module
name=
"geometry.test"
target=
"1.8"
/>
</bytecodeTargetLevel>
</component>
</project>
\ No newline at end of file
.idea/geometry.iml
View file @
182093b9
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"geometry"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
external.system.module.group=
"
geometry"
external.system.module.version=
"1.0-SNAPSHOT
"
type=
"JAVA_MODULE"
version=
"4"
>
<module
external.linked.project.id=
"geometry"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
external.system.module.group=
"
"
external.system.module.version=
"unspecified
"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
...
...
.idea/misc.xml
View file @
182093b9
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_11"
project-jdk-name=
"1
1
"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_11"
project-jdk-name=
"1
2
"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/classes"
/>
</component>
</project>
\ No newline at end of file
.idea/modules.xml
View file @
182093b9
...
...
@@ -3,8 +3,6 @@
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/.idea/geometry.iml"
filepath=
"$PROJECT_DIR$/.idea/geometry.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/.idea/modules/geometry.main.iml"
filepath=
"$PROJECT_DIR$/.idea/modules/geometry.main.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/.idea/modules/geometry.test.iml"
filepath=
"$PROJECT_DIR$/.idea/modules/geometry.test.iml"
/>
</modules>
</component>
</project>
\ No newline at end of file
.idea/modules/geometry.main.iml
0 → 100644
View file @
182093b9
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"geometry:main"
external.linked.project.path=
"$MODULE_DIR$/../.."
external.root.project.path=
"$MODULE_DIR$/../.."
external.system.id=
"GRADLE"
external.system.module.group=
"geometry"
external.system.module.type=
"sourceSet"
external.system.module.version=
"1.0-SNAPSHOT"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
>
<output
url=
"file://$MODULE_DIR$/../../build/classes/java/main"
/>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$/../../src/main"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
.idea/modules/geometry.test.iml
0 → 100644
View file @
182093b9
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"geometry:test"
external.linked.project.path=
"$MODULE_DIR$/../.."
external.root.project.path=
"$MODULE_DIR$/../.."
external.system.id=
"GRADLE"
external.system.module.group=
"geometry"
external.system.module.type=
"sourceSet"
external.system.module.version=
"1.0-SNAPSHOT"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_8"
>
<output-test
url=
"file://$MODULE_DIR$/../../build/classes/java/test"
/>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$/../../src/test"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"module"
module-name=
"geometry.main"
/>
<orderEntry
type=
"library"
name=
"Gradle: junit:junit:4.12"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: org.hamcrest:hamcrest-core:1.3"
level=
"project"
/>
</component>
<component
name=
"TestModuleProperties"
production-module=
"geometry.main"
/>
</module>
\ No newline at end of file
garage/src/garage/Garage.java
View file @
182093b9
package
garage
;
import
vehicle.Vehicle
;
import
java.util.*
;
public
class
Garage
{
}
private
LinkedList
<
Vehicle
>
stock
;
private
String
owner
;
private
String
garageName
;
// CONSTRUCTOR **********************************************************************
public
Garage
()
{
this
.
stock
=
new
LinkedList
<
Vehicle
>();
this
.
owner
=
"Owner"
;
this
.
garageName
=
"Name garage"
;
}
public
Garage
(
LinkedList
<
Vehicle
>
stockEnregistrer
)
{
this
.
stock
=
stockEnregistrer
;
this
.
owner
=
"Owner"
;
this
.
garageName
=
"Nom du garage"
;
}
// Accesseur : ***********************************************************************************
public
LinkedList
<
Vehicle
>
getStock
()
{
return
this
.
stock
;
}
public
String
getOwner
()
{
return
this
.
owner
;
}
public
String
getGarageName
()
{
return
this
.
garageName
;
}
public
void
addVoiture
(
Vehicle
car
){
this
.
stock
.
add
(
car
);
}
}
\ No newline at end of file
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