{"id":20347937,"url":"https://github.com/quynhchi1009/adapter","last_synced_at":"2025-10-25T23:47:32.871Z","repository":{"id":150708753,"uuid":"583290858","full_name":"quynhchi1009/Adapter","owner":"quynhchi1009","description":"Adapter is a special object that converts the interface of one object so that another object can understand it.","archived":false,"fork":false,"pushed_at":"2022-12-29T10:39:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T22:51:50.748Z","etag":null,"topics":["adapter-pattern","design-patterns"],"latest_commit_sha":null,"homepage":"","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/quynhchi1009.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":"2022-12-29T10:37:28.000Z","updated_at":"2022-12-29T10:38:25.000Z","dependencies_parsed_at":"2023-04-23T07:06:30.240Z","dependency_job_id":null,"html_url":"https://github.com/quynhchi1009/Adapter","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/quynhchi1009%2FAdapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quynhchi1009%2FAdapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quynhchi1009%2FAdapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quynhchi1009%2FAdapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quynhchi1009","download_url":"https://codeload.github.com/quynhchi1009/Adapter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241877505,"owners_count":20035417,"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":["adapter-pattern","design-patterns"],"created_at":"2024-11-14T22:18:38.126Z","updated_at":"2025-10-25T23:47:27.835Z","avatar_url":"https://github.com/quynhchi1009.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adapter\nAdapter is a special object that converts the interface of one object so that another object can understand it.\n\n!! an object allows objects with incompatible interfaces to collaborate\n \n1. The adapter gets an interface, compatible with one of the existing objects.\n2. Using this interface, the existing object can safely call the adapter’s methods\n3. Upon receiving a call, the adapter passes the request to the second object, but in a format and order that the second object expects.\n\n### ****Applicability****\n- when you want to use some existing class, but its interface isn’t compatible with the rest of your code\n- when you want to reuse several existing subclasses that lack some common functionality that can’t be added to the superclass\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquynhchi1009%2Fadapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquynhchi1009%2Fadapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquynhchi1009%2Fadapter/lists"}