{"id":24775122,"url":"https://github.com/vsirotin/matrixformatter","last_synced_at":"2025-03-23T23:28:21.050Z","repository":{"id":120220063,"uuid":"80370673","full_name":"vsirotin/matrixformatter","owner":"vsirotin","description":"Simple Java 8 solution for formatting representation of matrix diverse types (Double, Integer, String etc.). This is the only class without using other libraries. ","archived":false,"fork":false,"pushed_at":"2024-05-27T09:21:13.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T06:41:23.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsirotin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-29T20:32:47.000Z","updated_at":"2024-05-27T09:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a538be9f-e24c-475d-9136-deb35b024acb","html_url":"https://github.com/vsirotin/matrixformatter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsirotin%2Fmatrixformatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsirotin%2Fmatrixformatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsirotin%2Fmatrixformatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsirotin%2Fmatrixformatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsirotin","download_url":"https://codeload.github.com/vsirotin/matrixformatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245184821,"owners_count":20574283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-29T06:37:50.177Z","updated_at":"2025-03-23T23:28:21.035Z","avatar_url":"https://github.com/vsirotin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Simple Java 8 solution for formatting representation of matrix diverse types (Double, Integer, String etc.). \n\n##This is the only class without using other libraries. \n\nThe matrix can be set e.g.as:\n\n```\nInteger[][] myMatrix = new Integer[][]{   \n    \n        new Integer[] {1,   2,  123456, 123},\n        new Integer[] {12,  1234,   12,     1},    \n        new Integer[] {1,   123,    123456789,  12}\n```\t\n    \nThe result of formatting can be simple as:\n    \n```\t\n[1,       2,    \t123456,          123]\n    \n[12,      1234, \t12,              1  ]\n    \n[1,   \t  123,  \t123456789,  \t  12 ]\n\n ```\t\n    \n or with headers, footers and cell align.\n    \t\nThe call of formatter with setting of formatting options can be made as:\n```\n    \nString result = new MatrixFormatter\u003c\u003e(doubleMatrix).setHeader(_header2).setHeaderSeparator('-').setFooterSeparator('=').setSolumnSeparator(\"|\").setAllignCell(AllignCell.CENTER).toString();\n```   \nPlease see JUnit test for details. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsirotin%2Fmatrixformatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsirotin%2Fmatrixformatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsirotin%2Fmatrixformatter/lists"}