{"id":25625120,"url":"https://github.com/guymclean/munrosorter","last_synced_at":"2026-06-06T10:30:16.233Z","repository":{"id":278632488,"uuid":"141019825","full_name":"guymclean/MunroSorter","owner":"guymclean","description":"Java library to filter munro CSV files for XDesign","archived":false,"fork":false,"pushed_at":"2018-07-15T20:13:33.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T20:35:11.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guymclean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-15T10:56:03.000Z","updated_at":"2018-07-15T20:13:35.000Z","dependencies_parsed_at":"2025-02-20T20:35:17.344Z","dependency_job_id":"79856715-14ae-4db6-9ef7-2ea0507c87ce","html_url":"https://github.com/guymclean/MunroSorter","commit_stats":null,"previous_names":["guymclean/munrosorter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guymclean%2FMunroSorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guymclean%2FMunroSorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guymclean%2FMunroSorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guymclean%2FMunroSorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guymclean","download_url":"https://codeload.github.com/guymclean/MunroSorter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240183767,"owners_count":19761440,"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-02-22T14:08:49.285Z","updated_at":"2026-06-06T10:30:16.151Z","avatar_url":"https://github.com/guymclean.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MunroSorter\nJava library to filter munro CSV files for XDesign.\n\nThe library can be used as follows:\n\nThe most basic operation is for using it to read a CSV file and return a list of munro objects.\nMunro objects have a name, height (meters), category (munro/top) and grid reference.\n\nFor example:\n\n\u003cpre\u003e\nString filepath = \"C:\\\\path\\\\to\\\\file.csv\";    \nList\u0026lt;Munro\u0026gt; munros = new MunroSorter\n        .Builder(filepath)\n        .build();\n\u003c/pre\u003e\n        \nwill return a list of munros occurring in the specified file.\n        \nA number of filtering features can be applied with the following operations        \n\n- filterCategory(char filterOption)\nthe filter option can be 'm' to return only munros or 't' to return only munro tops\n\n - sortByHeight(char sortingParam) \nthe sorting paramater can be 'a' to sort ascending or 'd' to sort descending\n\n- sortByName(char sortingParam)\nthe sorting paramater can be 'a' to sort ascending or 'd' to sort descending\n\n- minHeight(int height)\nmunros with smaller heights than that specified are removed from the list\n\n- maxHeight(int height)\nmunros with larger heights than that specified are removed from the list\n\n- limit(int limit)\nlimits the size of the list to that specified by limit, after all other filters have been completed\n\nThe order in which filter features are specified does not matter, and none are required, however the filtering features must be placed between Builder(filepath) and build().\n\nIf both sorting by name and height are specified, the list will be sorted by height, according to the height sorting parameter, and then munros with the same height will be sorted according to the name sorting parameter.\n\nHere are a couple of examples of the types of queries that can be executed:\n\n\u003cpre\u003e\nList\u0026lt;Munro\u0026gt; munros = new MunroSorter\n        .Builder(filepath)\n        .sortByHeight('a')\n        .sortByName('d')\n        .minHeight(1001)\n        .maxHeight(1050)\n        .filterCategory('m')\n        .limit(10)\n        .build();\n\u003c/pre\u003e\n\n\u003cpre\u003e\nList\u0026lt;Munro\u0026gt; munros = new MunroSorter\n        .Builder(filepath)\n        .sortByHeight('d')\n        .filterCategory('m')\n        .build();\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguymclean%2Fmunrosorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguymclean%2Fmunrosorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguymclean%2Fmunrosorter/lists"}