{"id":21069307,"url":"https://github.com/selcuksert/hashkey","last_synced_at":"2026-04-21T16:04:19.291Z","repository":{"id":130790837,"uuid":"323823424","full_name":"selcuksert/hashkey","owner":"selcuksert","description":"A simple implementation that uses custom class as HashMap key","archived":false,"fork":false,"pushed_at":"2020-12-29T09:09:24.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:42:15.066Z","etag":null,"topics":["equals","hashcode","hashmap","java"],"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/selcuksert.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}},"created_at":"2020-12-23T06:37:22.000Z","updated_at":"2020-12-29T09:09:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"8abb36a3-28e7-4496-a1dc-213cb9a97283","html_url":"https://github.com/selcuksert/hashkey","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/selcuksert%2Fhashkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selcuksert%2Fhashkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selcuksert%2Fhashkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selcuksert%2Fhashkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selcuksert","download_url":"https://codeload.github.com/selcuksert/hashkey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510288,"owners_count":20302334,"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":["equals","hashcode","hashmap","java"],"created_at":"2024-11-19T18:34:11.531Z","updated_at":"2025-12-30T16:35:15.330Z","avatar_url":"https://github.com/selcuksert.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hashkey\nA simple implementation that uses object based on [custom classes](src/main/java/com/corp/concepts/hashkey/model) as HashMap key.\n\nThe hash code generation and equality check is done via [Apache Commons Lang](https://commons.apache.org/proper/commons-lang/) `HashCodeBuilder` and `EqualsBuilder`.\n\n## Sample Console Output\n```console\nKeys equal? [true]\nHash codes equal? [true]\n==============\nValidate whether generated hash codes are always same:\nHash code [dataKey1]: 70329913\nHash code [dataKey1]: 70329913\nHash code [dataKey1]: 70329913\nHash code [dataKey2]: 70329913\nHash code [dataKey2]: 70329913\nHash code [dataKey2]: 70329913\n==============\nAdded data with dataKey1.\n==============\nQuery data with dataKey2:\n[1000, 2000, 3000, 4000, 5000]\n==============\nReplaced data with dataKey2:\n[5000, 4000, 3000, 2000, 1000]\n==============\nQuery data with dataKey1:\n[5000, 4000, 3000, 2000, 1000]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselcuksert%2Fhashkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselcuksert%2Fhashkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselcuksert%2Fhashkey/lists"}