{"id":19039800,"url":"https://github.com/shubh2-0/method-references","last_synced_at":"2025-07-09T09:34:27.842Z","repository":{"id":185438931,"uuid":"609991616","full_name":"Shubh2-0/Method-References","owner":"Shubh2-0","description":"The method reference is nothing but the simplified version of the lambda expression. Instead of providing an implementation body, a method reference refers to an existing available method","archived":false,"fork":false,"pushed_at":"2023-09-08T11:55:08.000Z","size":24,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T05:53:49.852Z","etag":null,"topics":["consumer-functional-interface","function-functional-interface","functional-programming","java","java-8","lambda-functions","method-reference","predicate-functions","sts4","supplier-functional-interface"],"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/Shubh2-0.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,"zenodo":null}},"created_at":"2023-03-05T20:38:49.000Z","updated_at":"2023-09-02T10:18:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"860e80bf-2c4f-4b85-9e21-1c90b4bbaf74","html_url":"https://github.com/Shubh2-0/Method-References","commit_stats":null,"previous_names":["shubh2-0/method-references"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubh2-0%2FMethod-References","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubh2-0%2FMethod-References/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubh2-0%2FMethod-References/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shubh2-0%2FMethod-References/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shubh2-0","download_url":"https://codeload.github.com/Shubh2-0/Method-References/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250513700,"owners_count":21443204,"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":["consumer-functional-interface","function-functional-interface","functional-programming","java","java-8","lambda-functions","method-reference","predicate-functions","sts4","supplier-functional-interface"],"created_at":"2024-11-08T22:18:54.810Z","updated_at":"2025-04-23T20:48:37.491Z","avatar_url":"https://github.com/Shubh2-0.png","language":"Java","readme":"# Method Reference\n\nJava provides a new feature called method reference in Java 8. Method reference is used to refer method of the functional interface. It is a compact and easy form of a lambda expression. Each time when you are using a lambda expression to just referring a method, you can replace your lambda expression with a method reference.\n\n# Advantages of Method Reference\n\n✨ It is shorter than a lambda expression\n\n✨ It includes the name of the class, which contains the method; this improves the readability of the code.\n\n# Types of Method Reference\n**There are four types of method references available**\n\n1️⃣ Static Method Reference\n\n2️⃣ Instance Method Reference\n\n3️⃣ Arbitrary object – Instance Method Reference\n\n4️⃣ Constructor Reference\n\n\n\u003cimg src=\"https://www.javainterviewpoint.com/wp-content/uploads/2020/06/Types-of-Method-Reference.png\" /\u003e\n\n## 📬 Contact\n\nIf you want to contact me, you can reach me through below handles.\n\n \u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.linkedin.com/in/shubham-bhati-787319213/\" target=\"_blank\"\u003e\u003cimg align=\"center\" src=\"https://skillicons.dev/icons?i=linkedin\" width=\"40px\" alt=\"linkedin\" /\u003e\u003c/a\u003e\u0026emsp;\n  \u003ca title=\"shubhambhati226@gmail.com\" href=\"mailto:shubhambhati226@gmail.com\" target=\"_blank\"\u003e\u003cimg align=\"center\"  src=\"https://cdn-icons-png.flaticon.com/128/888/888853.png\"  width=\"40px\"   alt=\"mail-me\" /\u003e\u003c/a\u003e\u0026emsp;\n  \u003ca href=\"https://wa.me/+916232133187\" target=\"blank\"\u003e\u003cimg align=\"center\" src=\"https://media2.giphy.com/media/Q8I2fYA773h5wmQQcR/giphy.gif\" width=\"40px\"  alt=\"whatsapp-me\" /\u003e\u003c/a\u003e\u0026emsp;\t\n \u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003e💓Happy Coding😄💻\u003c/strong\u003e\n\u003c/div\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubh2-0%2Fmethod-references","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubh2-0%2Fmethod-references","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubh2-0%2Fmethod-references/lists"}