diff options
author | pacien | 2018-02-01 21:00:06 +0100 |
---|---|---|
committer | pacien | 2018-02-01 21:00:06 +0100 |
commit | 2e2e281265e62f7621ae7094c680000edaddf64a (patch) | |
tree | e437c39ffe43148abbf90e2c80cb832418906bc1 /src/main/java/fr/umlv | |
parent | 735be27e8802740cf0986bb6d14e720234889aae (diff) | |
download | wallj-2e2e281265e62f7621ae7094c680000edaddf64a.tar.gz |
Move Matrix util
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'src/main/java/fr/umlv')
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/board/Board.java | 1 | ||||
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/board/BoardParser.java | 1 | ||||
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/board/Matrix.java (renamed from src/main/java/fr/umlv/java/wallj/utils/Matrix.java) | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/board/Board.java b/src/main/java/fr/umlv/java/wallj/board/Board.java index ad29fe6..5677c39 100644 --- a/src/main/java/fr/umlv/java/wallj/board/Board.java +++ b/src/main/java/fr/umlv/java/wallj/board/Board.java | |||
@@ -1,7 +1,6 @@ | |||
1 | package fr.umlv.java.wallj.board; | 1 | package fr.umlv.java.wallj.board; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.block.BlockType; | 3 | import fr.umlv.java.wallj.block.BlockType; |
4 | import fr.umlv.java.wallj.utils.Matrix; | ||
5 | 4 | ||
6 | import java.util.AbstractMap; | 5 | import java.util.AbstractMap; |
7 | import java.util.Arrays; | 6 | import java.util.Arrays; |
diff --git a/src/main/java/fr/umlv/java/wallj/board/BoardParser.java b/src/main/java/fr/umlv/java/wallj/board/BoardParser.java index 39adda7..3b77767 100644 --- a/src/main/java/fr/umlv/java/wallj/board/BoardParser.java +++ b/src/main/java/fr/umlv/java/wallj/board/BoardParser.java | |||
@@ -1,7 +1,6 @@ | |||
1 | package fr.umlv.java.wallj.board; | 1 | package fr.umlv.java.wallj.board; |
2 | 2 | ||
3 | import fr.umlv.java.wallj.block.BlockType; | 3 | import fr.umlv.java.wallj.block.BlockType; |
4 | import fr.umlv.java.wallj.utils.Matrix; | ||
5 | 4 | ||
6 | import java.io.IOException; | 5 | import java.io.IOException; |
7 | import java.nio.file.Files; | 6 | import java.nio.file.Files; |
diff --git a/src/main/java/fr/umlv/java/wallj/utils/Matrix.java b/src/main/java/fr/umlv/java/wallj/board/Matrix.java index 83dfc11..c6a2528 100644 --- a/src/main/java/fr/umlv/java/wallj/utils/Matrix.java +++ b/src/main/java/fr/umlv/java/wallj/board/Matrix.java | |||
@@ -1,4 +1,4 @@ | |||
1 | package fr.umlv.java.wallj.utils; | 1 | package fr.umlv.java.wallj.board; |
2 | 2 | ||
3 | import java.util.List; | 3 | import java.util.List; |
4 | 4 | ||
@@ -8,7 +8,6 @@ import java.util.List; | |||
8 | * @author Pacien TRAN-GIRARD | 8 | * @author Pacien TRAN-GIRARD |
9 | */ | 9 | */ |
10 | public final class Matrix { | 10 | public final class Matrix { |
11 | |||
12 | /** | 11 | /** |
13 | * @param m the matrix (2D array) | 12 | * @param m the matrix (2D array) |
14 | * @return the width of the matrix (0 if null) | 13 | * @return the width of the matrix (0 if null) |
@@ -52,5 +51,4 @@ public final class Matrix { | |||
52 | private Matrix() { | 51 | private Matrix() { |
53 | // static class | 52 | // static class |
54 | } | 53 | } |
55 | |||
56 | } | 54 | } |