Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FirefighterStarter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COUETOUX Basile
FirefighterStarter
Merge requests
!2
Simple
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Simple
alaboure/firefighter-template:simple
into
main
Overview
1
Commits
17
Pipelines
1
Changes
3
Merged
COUETOUX Basile
requested to merge
alaboure/firefighter-template:simple
into
main
8 months ago
Overview
1
Commits
17
Pipelines
1
Changes
3
0
0
Merge request reports
Viewing commit
c3a3ff1b
Prev
Next
Show latest version
3 files
+
47
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
c3a3ff1b
added test
· c3a3ff1b
LABOUREL Arnaud
authored
1 year ago
src/main/java/firefighter/model/Board.java
+
8
−
0
View file @ c3a3ff1b
Edit in single-file editor
Open in Web IDE
Show full file
@@ -19,6 +19,14 @@ public interface Board<S> {
*/
S
getState
(
Position
position
);
/**
* Set the state of a specific position on the board to the specified state.
*
* @param state The state to set for the given position.
* @param position The position on the board for which to set the state.
*/
void
setState
(
S
state
,
Position
position
);
/**
* Get the number of rows in the board.
*
Loading