Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
inf101.v19.oppgaver
inf101.v19.lab4
Commits
ee39cc62
Commit
ee39cc62
authored
Jan 30, 2017
by
HaskellElephant
Browse files
Updated names of modules.
parent
3f1b9598
Changes
13
Hide whitespace changes
Inline
Side-by-side
src/inf101/v1
6
/cell/CellState.java
→
src/inf101/v1
7
/cell/CellState.java
View file @
ee39cc62
package
inf101.v1
6
.cell
;
package
inf101.v1
7
.cell
;
/**
*
...
...
src/inf101/v1
6
/cell/GameOfLife.java
→
src/inf101/v1
7
/cell/GameOfLife.java
View file @
ee39cc62
package
inf101.v16.cell
;
import
inf101.v16.datastructures.MyGrid
;
import
inf101.v16.datastructures.IGrid
;
package
inf101.v17.cell
;
import
java.awt.Color
;
import
java.util.Random
;
import
inf101.v17.datastructures.IGrid
;
import
inf101.v17.datastructures.MyGrid
;
/**
*
* An ICellAutomata that implements Conways game of life.
...
...
src/inf101/v1
6
/cell/ICellAutomaton.java
→
src/inf101/v1
7
/cell/ICellAutomaton.java
View file @
ee39cc62
package
inf101.v1
6
.cell
;
package
inf101.v1
7
.cell
;
import
java.awt.Color
;
...
...
src/inf101/v1
6
/cell/Main.java
→
src/inf101/v1
7
/cell/Main.java
View file @
ee39cc62
package
inf101.v1
6
.cell
;
package
inf101.v1
7
.cell
;
import
inf101.v1
6
.cell.gui.CellAutomataGUI
;
import
inf101.v1
7
.cell.gui.CellAutomataGUI
;
public
class
Main
{
...
...
src/inf101/v1
6
/cell/SeedsAutomaton.java
→
src/inf101/v1
7
/cell/SeedsAutomaton.java
View file @
ee39cc62
package
inf101.v16.cell
;
import
inf101.v16.datastructures.MyGrid
;
import
inf101.v16.datastructures.IGrid
;
package
inf101.v17.cell
;
import
java.awt.Color
;
import
java.util.Random
;
import
inf101.v17.datastructures.IGrid
;
import
inf101.v17.datastructures.MyGrid
;
/**
*
* An ICellAutomata that implements the Seeds Cellular Automaton.
...
...
src/inf101/v1
6
/cell/gui/AutomatonComponent.java
→
src/inf101/v1
7
/cell/gui/AutomatonComponent.java
View file @
ee39cc62
package
inf101.v1
6
.cell.gui
;
package
inf101.v1
7
.cell.gui
;
import
inf101.v16.cell.ICellAutomaton
;
import
java.awt.Component
;
import
java.awt.Dimension
;
import
java.awt.Graphics
;
import
inf101.v17.cell.ICellAutomaton
;
/**
*
* A Component that draws the cells in a ICellAutomaton.
...
...
src/inf101/v1
6
/cell/gui/CellAutomataGUI.java
→
src/inf101/v1
7
/cell/gui/CellAutomataGUI.java
View file @
ee39cc62
package
inf101.v16.cell.gui
;
import
inf101.v16.cell.ICellAutomaton
;
package
inf101.v17.cell.gui
;
import
java.awt.BorderLayout
;
import
java.awt.Component
;
...
...
@@ -11,6 +9,8 @@ import javax.swing.JButton;
import
javax.swing.JFrame
;
import
javax.swing.JPanel
;
import
inf101.v17.cell.ICellAutomaton
;
/**
*
* The application in which AutomatonComponent is displayed.
...
...
src/inf101/v1
6
/datastructures/GridTest.java
→
src/inf101/v1
7
/datastructures/GridTest.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
import
static
org
.
junit
.
Assert
.*;
...
...
src/inf101/v1
6
/datastructures/IGrid.java
→
src/inf101/v1
7
/datastructures/IGrid.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
public
interface
IGrid
<
T
>
{
...
...
src/inf101/v1
6
/datastructures/IList.java
→
src/inf101/v1
7
/datastructures/IList.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
public
interface
IList
<
T
>
{
/**
...
...
src/inf101/v1
6
/datastructures/MyGrid.java
→
src/inf101/v1
7
/datastructures/MyGrid.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
/**
*
...
...
src/inf101/v1
6
/datastructures/MyList.java
→
src/inf101/v1
7
/datastructures/MyList.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
import
java.util.Arrays
;
...
...
src/inf101/v1
6
/datastructures/MyListTest.java
→
src/inf101/v1
7
/datastructures/MyListTest.java
View file @
ee39cc62
package
inf101.v1
6
.datastructures
;
package
inf101.v1
7
.datastructures
;
import
static
org
.
junit
.
Assert
.*;
...
...
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