Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CHERIFI Khadidja
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CHERIFI Khadidja
CHERIFI Khadidja
Commits
16a669dd
Commit
16a669dd
authored
4 years ago
by
CHERIFI Khadidja
Browse files
Options
Downloads
Patches
Plain Diff
Replace Cell.java
parent
adb13dc8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cell.java
+6
-3
6 additions, 3 deletions
Cell.java
with
6 additions
and
3 deletions
Cell.java
+
6
−
3
View file @
16a669dd
...
...
@@ -6,11 +6,14 @@ public class Cell {
private
boolean
isAlive
;
public
Cell
(){
this
.
isAlive
=
false
;
}
/**
* Determines whether this {@link Cell} is alive or not.
*
*
* @return {@code true} if this {@link Cell} is alive and {@code false} otherwise
*/
...
...
@@ -32,7 +35,7 @@ public class Cell {
/**
* Sets the state of this {@link Cell} to alive.
*
* @param cellState the new state of this {@link Cell}
* @param
*
cellState the new state of this {@link Cell}
*/
public
void
setAlive
()
{
...
...
@@ -42,7 +45,7 @@ public class Cell {
/**
* Sets the state of this {@link Cell} to dead.
*
* @param cellState the new state of this {@link Cell}
* @param
*
cellState the new state of this {@link Cell}
*/
public
void
setDead
()
{
...
...
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