{"id":18755886,"url":"https://github.com/fdeniz07/effectivejava","last_synced_at":"2025-11-29T17:30:17.869Z","repository":{"id":225653354,"uuid":"722376834","full_name":"fdeniz07/EffectiveJava","owner":"fdeniz07","description":"The examples in this repo are based on Joshua J. Bloch's book Effective Java (Third Edition)","archived":false,"fork":false,"pushed_at":"2024-03-20T20:44:07.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T01:56:45.022Z","etag":null,"topics":[],"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/fdeniz07.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":"2023-11-23T02:34:13.000Z","updated_at":"2024-03-31T03:13:32.000Z","dependencies_parsed_at":"2024-11-07T17:52:10.009Z","dependency_job_id":null,"html_url":"https://github.com/fdeniz07/EffectiveJava","commit_stats":null,"previous_names":["fdeniz07/effectivejava"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdeniz07%2FEffectiveJava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdeniz07%2FEffectiveJava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdeniz07%2FEffectiveJava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdeniz07%2FEffectiveJava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdeniz07","download_url":"https://codeload.github.com/fdeniz07/EffectiveJava/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239644126,"owners_count":19673580,"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":[],"created_at":"2024-11-07T17:34:16.925Z","updated_at":"2025-11-29T17:30:17.818Z","avatar_url":"https://github.com/fdeniz07.png","language":"Java","readme":"# Effective Java\n\n## The examples in this repo are based on Joshua J. Bloch's book Effective Java (Third Edition).\n### Resource : https://kea.nu/files/textbooks/new/Effective%20Java%20%282017%2C%20Addison-Wesley%29.pdf\n\n#### Note: In the book, examples start from chapter 2, in the repo they start from chapter 1.\n\n## Chapter 0: Introduction\n## Chapter 1: Creating and Destroying Objects\n ### item1 : Consider static factory methods instead of constructors\n ### item2 : Consider a builder when faced with many constructor parameters\n ### item3 : Enforce the singleton property with a private constructor or an enum type\n ### item4 : Enforce noninstantiability with a private constructor\n ### item5 : Prefer dependency injection to hardwring resources\n ### item6 : Avoid creating unnecessary objects\n ### item7 : Eliminate obsolete object references\n ### item8 : Avoid finalizers and cleaners\n ### item9 : Prefer try-with-resources to try-finally\n## Chapter 2: Methods Common to All Objects\n ### item10: Obey the general contract when overriding equals\n ### item11: Always override hashCode when you override equals\n ### item12: Always override toString\n ### item13: Override clone judiciously\n ### item14: Consider implementing Comparable\n ### item14-b: Comparable\n## Chapter 3: Classes and Interfaces\n## Chapter 4: Generics \n## Chapter 5: Enums and Annotations\n## Chapter 6: Lambdas and Streams\n## Chapter 7: Methods\n## Chapter 8: General Programming\n## Chapter 9: Exceptions\n## Chapter 10: Concurrency\n## Chapter 11: Serialization\n\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdeniz07%2Feffectivejava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdeniz07%2Feffectivejava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdeniz07%2Feffectivejava/lists"}