{"id":21954090,"url":"https://github.com/goessl/tree","last_synced_at":"2025-03-22T18:27:49.907Z","repository":{"id":177888513,"uuid":"206347097","full_name":"goessl/Tree","owner":"goessl","description":"Tree structure generation, handling \u0026 storage.","archived":false,"fork":false,"pushed_at":"2020-02-21T12:59:58.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T12:07:41.826Z","etag":null,"topics":["data-structures","generator","iterator","java","java-8","post-order","pre-order","recursion","recursive","recursive-algorithm","storage","tree","tree-structure"],"latest_commit_sha":null,"homepage":null,"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/goessl.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":"2019-09-04T15:05:10.000Z","updated_at":"2020-02-21T13:00:00.000Z","dependencies_parsed_at":"2023-07-10T20:45:39.168Z","dependency_job_id":null,"html_url":"https://github.com/goessl/Tree","commit_stats":null,"previous_names":["goessl/tree"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goessl%2FTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goessl%2FTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goessl%2FTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goessl%2FTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goessl","download_url":"https://codeload.github.com/goessl/Tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245001839,"owners_count":20545318,"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":["data-structures","generator","iterator","java","java-8","post-order","pre-order","recursion","recursive","recursive-algorithm","storage","tree","tree-structure"],"created_at":"2024-11-29T07:15:28.042Z","updated_at":"2025-03-22T18:27:49.888Z","avatar_url":"https://github.com/goessl.png","language":"Java","readme":"# Tree\n\nTree class used to generate \u0026 store tree structures.\nEvery node stores a reference to its parent node, children nodes and its\ndata.\nThis packages only class ([Tree](Tree.java)) implements TreeNode so it can be passed to a JTree\nto be displayed graphically.\n\n## Usage\n\nA new node/tree can be constructed with the data it should store.\nTo every node a child can be added with the add method.\nWith the getter methods you can get the parent, children and data of every\nnode.\nAlso a whole tree can be generated recursively with the constructor or add\nmethod by giving it a growth function. It takes the data of a node and\nshould return data for its children. This way a complex tree can be\ngenerated with a single function.\n\n## Getting Started\n\nSimply download this repository and add it to your project as a new package!\nDone!\n\n## TODO\n\n - [x] Add visual output\n\n## License (MIT)\n\nMIT License\n\nCopyright (c) 2019 Sebastian Gössl\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoessl%2Ftree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoessl%2Ftree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoessl%2Ftree/lists"}