{"id":18925991,"url":"https://github.com/murshidazher/kairos","last_synced_at":"2026-03-15T00:30:17.019Z","repository":{"id":104059258,"uuid":"270724661","full_name":"murshidazher/kairos","owner":"murshidazher","description":":octopus: A small library of design patterns, written in Java.","archived":false,"fork":false,"pushed_at":"2020-06-16T12:08:02.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T18:29:33.051Z","etag":null,"topics":["behavioral-patterns","creational-patterns","design-patterns","interview-preparation","java","structural-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/murshidazher.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":"2020-06-08T15:41:34.000Z","updated_at":"2020-06-16T12:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"19f23062-5b0e-4c51-812e-7c029e698370","html_url":"https://github.com/murshidazher/kairos","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/murshidazher%2Fkairos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Fkairos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Fkairos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murshidazher%2Fkairos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murshidazher","download_url":"https://codeload.github.com/murshidazher/kairos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921837,"owners_count":19718844,"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":["behavioral-patterns","creational-patterns","design-patterns","interview-preparation","java","structural-patterns"],"created_at":"2024-11-08T11:14:03.624Z","updated_at":"2026-03-15T00:30:16.947Z","avatar_url":"https://github.com/murshidazher.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kairos\nThis repository is a small library which contains Java based real-world examples of many popular design patterns mentioned in the [Gang of Four Book](https://en.wikipedia.org/wiki/Design_Patterns).\n\n:point_up: Note that this project is meant to be used for learning and researching purposes \nonly and it is **not** meant to be used for production.*\n\n## Design Patterns\n\nA data pattern is a \n\n### Design Patterns by Topic\n\n`B` - Beginner, `A` - Advanced\n\n* **Creational**\n  * `A` [Abstract Factory](src/com/murshidazher/creational/abstract) - set/get/update/clear bits, multiplication/division by two, make negative etc.\n  * `B` [Builder Pattern](src/com/murshidazher/creational/builder) \n  * `B` [Factory Method](src/com/murshidazher/creational/factory) - classic and closed-form versions\n  * `B` [Singleton](src/com/murshidazher/creational/singleton) (trial division method)\n  * `B` [Object Pool](src/com/murshidazher/creational/objectPool) - calculate the Greatest Common Divisor (GCD)\n  * `B` [Prototype](src/com/murshidazher/creational/prototype) (LCM)\n* **Structural**\n  * `B` [Adapter Pattern](src/com/murshidazher/structural/adapter) - product of multiple sets\n  * `B` [Bridge Pattern](src/com/murshidazher/structural/bridge) - random permutation of a finite sequence\n  * `A` [Composite Pattern](src/com/murshidazher/structural/composite) - all subsets of a set (bitwise and backtracking solutions)\n  * `A` [Decorator Pattern](src/com/murshidazher/structural/decorator) (with and without repetitions)\n  * `A` [Facade Pattern](src/com/murshidazher/structural/facade) (with and without repetitions)\n  * `A` [Flyweight Pattern](src/com/murshidazher/structural/flyweight) (LCS)\n  * `A` [Proxy Pattern](src/com/murshidazher/structural/proxy)\n* **Behavioral**\n  * `B` [Chain of Responsibility](src/com/murshidazher/behavioral/chainOfResponsibility) - number of positions at which the symbols are different\n  * `A` [Command Pattern](src/com/murshidazher/behavioral/command) - minimum edit distance between two sequences\n  * `A` [Iterator Pattern](src/com/murshidazher/behavioral/iterator) (KMP Algorithm) - substring search (pattern matching)\n  * `A` [Mediator Pattern](src/com/murshidazher/behavioral/mediator) - substring search (pattern matching)\n  * `A` [Observer Pattern](src/com/murshidazher/behavioral/memento) - substring search\n  * `A` [State Pattern](src/com/murshidazher/behavioral/observer)\n  * `A` [Strategy Pattern](src/com/murshidazher/behavioral/state)\n  * `A` [Template Method](src/com/murshidazher/behavioral/template)\n  * `A` [Visitor Pattern](src/com/murshidazher/behavioral/visitor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurshidazher%2Fkairos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurshidazher%2Fkairos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurshidazher%2Fkairos/lists"}