Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Design Pattern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Arrêt du service - 11/07 de 07h30 à 07h45 - Mise à jour de sécurité
Show more breadcrumbs
CLEMENT Aissa
Design Pattern
Commits
37f12a4b
Commit
37f12a4b
authored
1 year ago
by
tompotio
Browse files
Options
Downloads
Patches
Plain Diff
V4
parent
ab07b042
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Configuration/Configuration.java
+25
-0
25 additions, 0 deletions
src/Configuration/Configuration.java
with
25 additions
and
0 deletions
src/Configuration/Configuration.java
0 → 100644
+
25
−
0
View file @
37f12a4b
package
Configuration
;
public
final
class
Configuration
{
private
int
difficulte
;
private
int
tailleMaxEquipe
;
private
static
Configuration
INSTANCE
;
private
Configuration
()
{
}
public
static
Configuration
getInstance
()
{
if
(
INSTANCE
==
null
)
{
INSTANCE
=
new
Configuration
();
}
return
INSTANCE
;
}
public
void
setDifficulte
(
int
difficulte
){
this
.
difficulte
=
difficulte
;
}
public
int
getDifficulte
(){
return
difficulte
;
}
public
void
setTailleMaxEquipe
(
int
taille
){
tailleMaxEquipe
=
taille
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment