{"id":18519320,"url":"https://github.com/darrmirr/fp_contract","last_synced_at":"2025-05-14T16:17:45.382Z","repository":{"id":109213991,"uuid":"319624733","full_name":"DarrMirr/fp_contract","owner":"DarrMirr","description":"Java implementation of Contract function ","archived":false,"fork":false,"pushed_at":"2021-02-05T20:03:45.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T16:17:38.264Z","etag":null,"topics":["fp","functional","functional-programming","functions","java","java-10","java-8","lambda-functions"],"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/DarrMirr.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,"zenodo":null}},"created_at":"2020-12-08T11:58:28.000Z","updated_at":"2021-02-05T20:03:47.000Z","dependencies_parsed_at":"2023-03-07T07:45:56.478Z","dependency_job_id":null,"html_url":"https://github.com/DarrMirr/fp_contract","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/DarrMirr%2Ffp_contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrMirr%2Ffp_contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrMirr%2Ffp_contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrMirr%2Ffp_contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarrMirr","download_url":"https://codeload.github.com/DarrMirr/fp_contract/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254179904,"owners_count":22027884,"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":["fp","functional","functional-programming","functions","java","java-10","java-8","lambda-functions"],"created_at":"2024-11-06T17:16:03.497Z","updated_at":"2025-05-14T16:17:45.376Z","avatar_url":"https://github.com/DarrMirr.png","language":"Java","readme":"# Contract function\nJava implementation of contract function\n\nContract function is function that applied to input value before one is passed to target function. \nWhere target function is function wrapped by Contract one. Target function is not invoked if contract evaluates false. \n\nThis code is part my article at [medium.com](https://darrmirr.medium.com/protect-function-from-illegal-input-value-8dcfe3c33c37)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrmirr%2Ffp_contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarrmirr%2Ffp_contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrmirr%2Ffp_contract/lists"}