{"action":"created","comment":{"url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/comments/44858790","id":44858790,"diff_hunk":"@@ -0,0 +1,226 @@\n+public class Matrix {\n+    private int line;\n+    private int column;\n+    private double[][] matrix;\n+\n+    Matrix() {\n+        line = 10;\n+        column = 10;\n+        matrix = new double[line][column];\n+        for (int i = 0; i < line; i++) {\n+            for (int j = 0; j < column; j++) {\n+                matrix[i][j] = 0;\n+            }\n+        }\n+    }\n+\n+    Matrix(double[][] mat, int n, int m) {\n+        line = n;\n+        column = m;\n+        matrix = new double[line][column];\n+        for (int i = 0; i < line; i++) {\n+            for (int j = 0; j < column; j++) {\n+                matrix[i][j] = mat[i][j];\n+            }\n+        }\n+    }\n+\n+    Matrix(Matrix mat) {\n+        line = mat.getLine();\n+        column = mat.getColumn();\n+        matrix = new double[line][column];\n+        for (int i = 0; i < line; i++) {\n+            for (int j = 0; j < column; j++) {\n+                matrix[i][j] = mat.getElemMatr(i, j);\n+            }\n+        }\n+    }\n+\n+    public void printMatrix() {\n+        if (matrix == null) {\n+            System.out.println(\"Matrix = null\");\n+            return;\n+        }\n+        for (int i = 0; i < matrix.length; i++) {\n+            for (int j = 0; j < matrix[0].length; j++) {\n+                System.out.print(matrix[i][j] + \" \");\n+            }\n+            System.out.println();\n+        }\n+    }\n+\n+    public double getElemMatr(int i, int j) {\n+        if (i >= 0 && i < matrix.length && j >= 0 && j < matrix[0].length) {\n+            return matrix[i][j];\n+        } else {\n+            System.out.println(\"wrong index\");\n+            return 0;\n+        }\n+    }\n+\n+    public int getLine() {\n+        return line;\n+    }\n+\n+    public int getColumn() {\n+        return column;\n+    }\n+\n+    public boolean equallyMatix(double[][] firstMatrix, double[][] secondMatrix) {","path":"src/Matrix.java","position":69,"original_position":69,"commit_id":"bfdd012579abfa098c0a1c6a006f143fc65e2869","original_commit_id":"bfdd012579abfa098c0a1c6a006f143fc65e2869","user":{"login":"AlexanderShushunov","id":5528356,"avatar_url":"https://avatars.githubusercontent.com/u/5528356?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShushunov","html_url":"https://github.com/AlexanderShushunov","followers_url":"https://api.github.com/users/AlexanderShushunov/followers","following_url":"https://api.github.com/users/AlexanderShushunov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShushunov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShushunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShushunov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShushunov/orgs","repos_url":"https://api.github.com/users/AlexanderShushunov/repos","events_url":"https://api.github.com/users/AlexanderShushunov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShushunov/received_events","type":"User","site_admin":false},"body":"equals","created_at":"2015-11-14T13:58:27Z","updated_at":"2015-11-14T13:58:27Z","html_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1#discussion_r44858790","pull_request_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/comments/44858790"},"html":{"href":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1#discussion_r44858790"},"pull_request":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1","id":50331251,"html_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1","diff_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1.diff","patch_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1.patch","issue_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/1","number":1,"state":"open","locked":false,"title":"Task","user":{"login":"LikhanovMaxim","id":11191554,"avatar_url":"https://avatars.githubusercontent.com/u/11191554?v=3","gravatar_id":"","url":"https://api.github.com/users/LikhanovMaxim","html_url":"https://github.com/LikhanovMaxim","followers_url":"https://api.github.com/users/LikhanovMaxim/followers","following_url":"https://api.github.com/users/LikhanovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/LikhanovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/LikhanovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LikhanovMaxim/subscriptions","organizations_url":"https://api.github.com/users/LikhanovMaxim/orgs","repos_url":"https://api.github.com/users/LikhanovMaxim/repos","events_url":"https://api.github.com/users/LikhanovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/LikhanovMaxim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-11T00:12:56Z","updated_at":"2015-11-14T13:58:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51610a84a506e9ed80e77f6bdf9231bde3cf4017","assignee":{"login":"AlexanderShushunov","id":5528356,"avatar_url":"https://avatars.githubusercontent.com/u/5528356?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShushunov","html_url":"https://github.com/AlexanderShushunov","followers_url":"https://api.github.com/users/AlexanderShushunov/followers","following_url":"https://api.github.com/users/AlexanderShushunov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShushunov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShushunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShushunov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShushunov/orgs","repos_url":"https://api.github.com/users/AlexanderShushunov/repos","events_url":"https://api.github.com/users/AlexanderShushunov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShushunov/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/1/comments","statuses_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/statuses/bfdd012579abfa098c0a1c6a006f143fc65e2869","head":{"label":"LikhanovMaxim:task","ref":"task","sha":"bfdd012579abfa098c0a1c6a006f143fc65e2869","user":{"login":"LikhanovMaxim","id":11191554,"avatar_url":"https://avatars.githubusercontent.com/u/11191554?v=3","gravatar_id":"","url":"https://api.github.com/users/LikhanovMaxim","html_url":"https://github.com/LikhanovMaxim","followers_url":"https://api.github.com/users/LikhanovMaxim/followers","following_url":"https://api.github.com/users/LikhanovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/LikhanovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/LikhanovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LikhanovMaxim/subscriptions","organizations_url":"https://api.github.com/users/LikhanovMaxim/orgs","repos_url":"https://api.github.com/users/LikhanovMaxim/repos","events_url":"https://api.github.com/users/LikhanovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/LikhanovMaxim/received_events","type":"User","site_admin":false},"repo":{"id":45948251,"name":"EpamHW_3_Utilit","full_name":"LikhanovMaxim/EpamHW_3_Utilit","owner":{"login":"LikhanovMaxim","id":11191554,"avatar_url":"https://avatars.githubusercontent.com/u/11191554?v=3","gravatar_id":"","url":"https://api.github.com/users/LikhanovMaxim","html_url":"https://github.com/LikhanovMaxim","followers_url":"https://api.github.com/users/LikhanovMaxim/followers","following_url":"https://api.github.com/users/LikhanovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/LikhanovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/LikhanovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LikhanovMaxim/subscriptions","organizations_url":"https://api.github.com/users/LikhanovMaxim/orgs","repos_url":"https://api.github.com/users/LikhanovMaxim/repos","events_url":"https://api.github.com/users/LikhanovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/LikhanovMaxim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit","description":"1) утилит для массивов int. а) Усечение/расширение массива. б)Сравнение массивов. в)Перемешать массив.2)Тип данных «матрица n*m». а)Получение элемента.б)Задание элемента. в)Сложение. г)Умножение.д) поиск детерминанта","fork":false,"url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit","forks_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/forks","keys_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/teams","hooks_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/hooks","issue_events_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/events{/number}","events_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/events","assignees_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/assignees{/user}","branches_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/branches{/branch}","tags_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/tags","blobs_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/refs{/sha}","trees_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/statuses/{sha}","languages_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/languages","stargazers_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/stargazers","contributors_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/contributors","subscribers_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/subscribers","subscription_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/subscription","commits_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/commits{/sha}","git_commits_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/commits{/sha}","comments_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/comments{/number}","issue_comment_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/comments{/number}","contents_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/contents/{+path}","compare_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/merges","archive_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/downloads","issues_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues{/number}","pulls_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls{/number}","milestones_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/milestones{/number}","notifications_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/labels{/name}","releases_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/releases{/id}","created_at":"2015-11-10T23:52:00Z","updated_at":"2015-11-10T23:52:00Z","pushed_at":"2015-11-12T16:50:35Z","git_url":"git://github.com/LikhanovMaxim/EpamHW_3_Utilit.git","ssh_url":"git@github.com:LikhanovMaxim/EpamHW_3_Utilit.git","clone_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit.git","svn_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LikhanovMaxim:master","ref":"master","sha":"ac66de645a6610fb215824cc6b2774622f36fdab","user":{"login":"LikhanovMaxim","id":11191554,"avatar_url":"https://avatars.githubusercontent.com/u/11191554?v=3","gravatar_id":"","url":"https://api.github.com/users/LikhanovMaxim","html_url":"https://github.com/LikhanovMaxim","followers_url":"https://api.github.com/users/LikhanovMaxim/followers","following_url":"https://api.github.com/users/LikhanovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/LikhanovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/LikhanovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LikhanovMaxim/subscriptions","organizations_url":"https://api.github.com/users/LikhanovMaxim/orgs","repos_url":"https://api.github.com/users/LikhanovMaxim/repos","events_url":"https://api.github.com/users/LikhanovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/LikhanovMaxim/received_events","type":"User","site_admin":false},"repo":{"id":45948251,"name":"EpamHW_3_Utilit","full_name":"LikhanovMaxim/EpamHW_3_Utilit","owner":{"login":"LikhanovMaxim","id":11191554,"avatar_url":"https://avatars.githubusercontent.com/u/11191554?v=3","gravatar_id":"","url":"https://api.github.com/users/LikhanovMaxim","html_url":"https://github.com/LikhanovMaxim","followers_url":"https://api.github.com/users/LikhanovMaxim/followers","following_url":"https://api.github.com/users/LikhanovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/LikhanovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/LikhanovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LikhanovMaxim/subscriptions","organizations_url":"https://api.github.com/users/LikhanovMaxim/orgs","repos_url":"https://api.github.com/users/LikhanovMaxim/repos","events_url":"https://api.github.com/users/LikhanovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/LikhanovMaxim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit","description":"1) утилит для массивов int. а) Усечение/расширение массива. б)Сравнение массивов. в)Перемешать массив.2)Тип данных «матрица n*m». а)Получение элемента.б)Задание элемента. в)Сложение. г)Умножение.д) поиск детерминанта","fork":false,"url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit","forks_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/forks","keys_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/teams","hooks_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/hooks","issue_events_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/events{/number}","events_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/events","assignees_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/assignees{/user}","branches_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/branches{/branch}","tags_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/tags","blobs_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/refs{/sha}","trees_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/statuses/{sha}","languages_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/languages","stargazers_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/stargazers","contributors_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/contributors","subscribers_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/subscribers","subscription_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/subscription","commits_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/commits{/sha}","git_commits_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/git/commits{/sha}","comments_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/comments{/number}","issue_comment_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/comments{/number}","contents_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/contents/{+path}","compare_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/merges","archive_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/downloads","issues_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues{/number}","pulls_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls{/number}","milestones_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/milestones{/number}","notifications_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/labels{/name}","releases_url":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/releases{/id}","created_at":"2015-11-10T23:52:00Z","updated_at":"2015-11-10T23:52:00Z","pushed_at":"2015-11-12T16:50:35Z","git_url":"git://github.com/LikhanovMaxim/EpamHW_3_Utilit.git","ssh_url":"git@github.com:LikhanovMaxim/EpamHW_3_Utilit.git","clone_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit.git","svn_url":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1"},"html":{"href":"https://github.com/LikhanovMaxim/EpamHW_3_Utilit/pull/1"},"issue":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/1"},"comments":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/LikhanovMaxim/EpamHW_3_Utilit/statuses/bfdd012579abfa098c0a1c6a006f143fc65e2869"}}}}