{"id":42523941,"url":"https://github.com/hexlet-components/java-pairs","last_synced_at":"2026-01-28T15:36:17.103Z","repository":{"id":52083591,"uuid":"222251109","full_name":"hexlet-components/java-pairs","owner":"hexlet-components","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-18T07:36:27.000Z","size":176,"stargazers_count":1,"open_issues_count":1,"forks_count":5,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-18T21:39:04.954Z","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/hexlet-components.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}},"created_at":"2019-11-17T13:19:53.000Z","updated_at":"2024-06-01T17:02:35.000Z","dependencies_parsed_at":"2022-08-30T10:01:48.563Z","dependency_job_id":null,"html_url":"https://github.com/hexlet-components/java-pairs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hexlet-components/java-pairs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fjava-pairs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fjava-pairs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fjava-pairs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fjava-pairs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexlet-components","download_url":"https://codeload.github.com/hexlet-components/java-pairs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fjava-pairs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-28T15:36:17.032Z","updated_at":"2026-01-28T15:36:17.093Z","avatar_url":"https://github.com/hexlet-components.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-pairs\n\n[![Java CI](https://github.com/hexlet-components/java-pairs/workflows/Java%20CI/badge.svg)](https://github.com/hexlet-components/java-pairs/actions)\n[![Package](https://jitpack.io/v/hexlet-components/java-pairs.svg)](https://jitpack.io/#hexlet-components/java-pairs)\n\n## Functions for working with Pairs\n\n```java\nimport static io.hexlet.pairs.Pair.car;\nimport static io.hexlet.pairs.Pair.cdr;\nimport static io.hexlet.pairs.Pair.cons;\nimport static io.hexlet.pairs.Pair.pairToString;\nimport static io.hexlet.pairs.Pair.isPair;\n```\n\n## Usage examples\n\n```java\nvar pair = cons(1, 2);\n\nvar one = car(pair); // one = 1;\nvar two = cdr(pair); // two = 2;\n\nvar isPair = isPair(pair); // isPair == true;\n\nvar result = pairToString(pair); // pair = \"(1, 2)\";\n```\n\n---\n\n[![Hexlet Ltd. logo](https://raw.githubusercontent.com/Hexlet/assets/master/images/hexlet_logo128.png)](https://hexlet.io?utm_source=github\u0026utm_medium=link\u0026utm_campaign=java-pairs)\n\nThis repository is created and maintained by the team and the community of Hexlet, an educational project. [Read more about Hexlet](https://hexlet.io?utm_source=github\u0026utm_medium=link\u0026utm_campaign=java-pairs).\n\nSee most active contributors on [hexlet-friends](https://friends.hexlet.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlet-components%2Fjava-pairs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexlet-components%2Fjava-pairs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlet-components%2Fjava-pairs/lists"}