| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:bef7a910-18a2-83cf-21e4-2a267b8a7643 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B148:4C46A:9EEBA0:E45834:6AFD8D9E |
| html-safe-nonce | 9dffc3582e0b575656be2e994a4b12956b2ab8e889f34d28ae95c27409c90400 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTQ4OjRDNDZBOjlFRUJBMDpFNDU4MzQ6NkFGRDhEOUUiLCJ2aXNpdG9yX2lkIjoiNjQ1NTc0NTQyODY0OTI1MDIwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dde33910a89cce98b8acd2c928de13144fa679586d98a46a9fc8e457165366b7 |
| hovercard-subject-tag | repository:136157327 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/anupamandroid/java-snippets |
| twitter:image | https://opengraph.githubassets.com/0c49419c0606255698aac715bf18970720a236aed3c9cbee9df683a77006712b/anupamandroid/java-snippets |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c49419c0606255698aac715bf18970720a236aed3c9cbee9df683a77006712b/anupamandroid/java-snippets |
| og:image:alt | Collection of reusable tested Java code snippets. Contribute to anupamandroid/java-snippets development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-cache |
| go-import | github.com/anupamandroid/java-snippets git https://github.com/anupamandroid/java-snippets.git |
| octolytics-dimension-user_id | 14211036 |
| octolytics-dimension-user_login | anupamandroid |
| octolytics-dimension-repository_id | 136157327 |
| octolytics-dimension-repository_nwo | anupamandroid/java-snippets |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 114406231 |
| octolytics-dimension-repository_parent_nwo | iluwatar/30-seconds-of-java |
| octolytics-dimension-repository_network_root_id | 114406231 |
| octolytics-dimension-repository_network_root_nwo | iluwatar/30-seconds-of-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/anupamandroid/java-snippets#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fanupamandroid%2Fjava-snippets |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fanupamandroid%2Fjava-snippets |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=anupamandroid%2Fjava-snippets |
| Reload | https://redirect.github.com/anupamandroid/java-snippets |
| Reload | https://redirect.github.com/anupamandroid/java-snippets |
| Reload | https://redirect.github.com/anupamandroid/java-snippets |
| anupamandroid | https://redirect.github.com/anupamandroid |
| java-snippets | https://redirect.github.com/anupamandroid/java-snippets |
| Code | https://redirect.github.com/anupamandroid/java-snippets |
| Pull requests | https://redirect.github.com/anupamandroid/java-snippets/pulls |
| Actions | https://redirect.github.com/anupamandroid/java-snippets/actions |
| Projects | https://redirect.github.com/anupamandroid/java-snippets/projects |
| Security and quality | https://redirect.github.com/anupamandroid/java-snippets/security |
| Insights | https://redirect.github.com/anupamandroid/java-snippets/pulse |
| https://redirect.github.com/anupamandroid/java-snippets |
| java-snippets | https://redirect.github.com/anupamandroid/java-snippets |
| iluwatar/30-seconds-of-java | https://redirect.github.com/iluwatar/30-seconds-of-java |
| Notifications | https://redirect.github.com/login?return_to=%2Fanupamandroid%2Fjava-snippets |
| Fork0 (0) | https://redirect.github.com/login?return_to=%2Fanupamandroid%2Fjava-snippets |
| Star0 (0) | https://redirect.github.com/login?return_to=%2Fanupamandroid%2Fjava-snippets |
| Readme | https://redirect.github.com/anupamandroid/java-snippets#readme-ov-file |
| MIT license | https://redirect.github.com/anupamandroid/java-snippets#MIT-1-ov-file |
| Activity | https://redirect.github.com/anupamandroid/java-snippets/activity |
| 0 forks | https://redirect.github.com/anupamandroid/java-snippets/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fanupamandroid%2Fjava-snippets&report=anupamandroid+%28user%29 |
| Branches | https://redirect.github.com/anupamandroid/java-snippets/branches |
| Tags | https://redirect.github.com/anupamandroid/java-snippets/tags |
| https://redirect.github.com/anupamandroid/java-snippets/branches |
| https://redirect.github.com/anupamandroid/java-snippets/tags |
| 30 Commits | https://redirect.github.com/anupamandroid/java-snippets/commits/master/ |
| https://redirect.github.com/anupamandroid/java-snippets/commits/master/ |
| gradle/wrapper | https://redirect.github.com/anupamandroid/java-snippets/tree/master/gradle/wrapper |
| gradle/wrapper | https://redirect.github.com/anupamandroid/java-snippets/tree/master/gradle/wrapper |
| src | https://redirect.github.com/anupamandroid/java-snippets/tree/master/src |
| src | https://redirect.github.com/anupamandroid/java-snippets/tree/master/src |
| .gitignore | https://redirect.github.com/anupamandroid/java-snippets/blob/master/.gitignore |
| .gitignore | https://redirect.github.com/anupamandroid/java-snippets/blob/master/.gitignore |
| .travis.yml | https://redirect.github.com/anupamandroid/java-snippets/blob/master/.travis.yml |
| .travis.yml | https://redirect.github.com/anupamandroid/java-snippets/blob/master/.travis.yml |
| LICENSE | https://redirect.github.com/anupamandroid/java-snippets/blob/master/LICENSE |
| LICENSE | https://redirect.github.com/anupamandroid/java-snippets/blob/master/LICENSE |
| README.md | https://redirect.github.com/anupamandroid/java-snippets/blob/master/README.md |
| README.md | https://redirect.github.com/anupamandroid/java-snippets/blob/master/README.md |
| build.gradle | https://redirect.github.com/anupamandroid/java-snippets/blob/master/build.gradle |
| build.gradle | https://redirect.github.com/anupamandroid/java-snippets/blob/master/build.gradle |
| gradlew | https://redirect.github.com/anupamandroid/java-snippets/blob/master/gradlew |
| gradlew | https://redirect.github.com/anupamandroid/java-snippets/blob/master/gradlew |
| gradlew.bat | https://redirect.github.com/anupamandroid/java-snippets/blob/master/gradlew.bat |
| gradlew.bat | https://redirect.github.com/anupamandroid/java-snippets/blob/master/gradlew.bat |
| settings.gradle | https://redirect.github.com/anupamandroid/java-snippets/blob/master/settings.gradle |
| settings.gradle | https://redirect.github.com/anupamandroid/java-snippets/blob/master/settings.gradle |
| README | https://redirect.github.com/anupamandroid/java-snippets |
| MIT license | https://redirect.github.com/anupamandroid/java-snippets |
| https://redirect.github.com/anupamandroid/java-snippets#java-snippets |
| https://travis-ci.org/iluwatar/java-snippets |
| 30 seconds of code | https://github.com/Chalarangelo/30-seconds-of-code |
| https://redirect.github.com/anupamandroid/java-snippets#how-to-contribute |
| https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#algorithm |
| Quicksort | https://redirect.github.com/anupamandroid/java-snippets#quicksort |
| https://redirect.github.com/anupamandroid/java-snippets#array |
| Generic two array concatenation | https://redirect.github.com/anupamandroid/java-snippets#generic-two-array-concatenation |
| Generic N array concatenation | https://redirect.github.com/anupamandroid/java-snippets#generic-N-array-concatenation |
| https://redirect.github.com/anupamandroid/java-snippets#file |
| List directories | https://redirect.github.com/anupamandroid/java-snippets#list-directories |
| List files in directory | https://redirect.github.com/anupamandroid/java-snippets#list-files-in-directory |
| List files in directory recursively | https://redirect.github.com/anupamandroid/java-snippets#list-files-in-directory-recursively |
| Read lines from file to string list | https://redirect.github.com/anupamandroid/java-snippets#read-lines-from-file-to-string-list |
| Zip file | https://redirect.github.com/anupamandroid/java-snippets#zip-file |
| Zip multiple files | https://redirect.github.com/anupamandroid/java-snippets#zip-multiple-files |
| https://redirect.github.com/anupamandroid/java-snippets#math |
| Factorial | https://redirect.github.com/anupamandroid/java-snippets#factorial |
| Fibonacci | https://redirect.github.com/anupamandroid/java-snippets#fibonacci |
| Lottery | https://redirect.github.com/anupamandroid/java-snippets#lottery |
| https://redirect.github.com/anupamandroid/java-snippets#media |
| Capture screen | https://redirect.github.com/anupamandroid/java-snippets#capture-screen |
| https://redirect.github.com/anupamandroid/java-snippets#networking |
| HTTP GET | https://redirect.github.com/anupamandroid/java-snippets#http-get |
| https://redirect.github.com/anupamandroid/java-snippets#string |
| Palindrome check | https://redirect.github.com/anupamandroid/java-snippets#palindrome-check |
| Reverse string | https://redirect.github.com/anupamandroid/java-snippets#reverse-string |
| String to date | https://redirect.github.com/anupamandroid/java-snippets#string-to-date |
| https://redirect.github.com/anupamandroid/java-snippets#algorithm-1 |
| https://redirect.github.com/anupamandroid/java-snippets#quicksort |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#array-1 |
| https://redirect.github.com/anupamandroid/java-snippets#generic-two-array-concatenation |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#generic-n-array-concatenation |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#file-1 |
| https://redirect.github.com/anupamandroid/java-snippets#list-directories |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#list-files-in-directory |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#list-files-in-directory-recursively |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#read-lines-from-file-to-string-list |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#zip-file |
| https://redirect.github.com/anupamandroid/java-snippets#zip-multiple-files |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#math-1 |
| https://redirect.github.com/anupamandroid/java-snippets#fibonacci |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#factorial |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#lottery |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#media-1 |
| https://redirect.github.com/anupamandroid/java-snippets#capture-screen |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#networking-1 |
| https://redirect.github.com/anupamandroid/java-snippets#http-get |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#string-1 |
| https://redirect.github.com/anupamandroid/java-snippets#palindrome-check |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#reverse-string |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| https://redirect.github.com/anupamandroid/java-snippets#string-to-date |
| ⬆ back to top | https://redirect.github.com/anupamandroid/java-snippets#table-of-contents |
| Readme | https://redirect.github.com/anupamandroid/java-snippets#readme-ov-file |
| MIT license | https://redirect.github.com/anupamandroid/java-snippets#MIT-1-ov-file |
| Activity | https://redirect.github.com/anupamandroid/java-snippets/activity |
| 0 forks | https://redirect.github.com/anupamandroid/java-snippets/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fanupamandroid%2Fjava-snippets&report=anupamandroid+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |