| 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/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:05b43a8f-e3fd-954d-d9c8-2a99dcbd53a0 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 9F36:2A8F8B:188CDB6:1FD8A97:6B05143B |
| html-safe-nonce | 24f7c62408d701da0c7cc9f99426eafa0b6bb53c67a82fa9675af9e392980f66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjM2OjJBOEY4QjoxODhDREI2OjFGRDhBOTc6NkIwNTE0M0IiLCJ2aXNpdG9yX2lkIjoiNDE2MjQ4MTc0NzI4NTg0MDk1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0c22ec9d20a65e4879faf9ec100b473514e34229e7d866bc486b433aecafbc4f |
| hovercard-subject-tag | repository:787980451 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md |
| twitter:image | https://opengraph.githubassets.com/af4f2d6bb5e45728b07b71d27e6c39521b77ca12b452a08bd5ab0a715562e562/NUVEER/JavaGuide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af4f2d6bb5e45728b07b71d27e6c39521b77ca12b452a08bd5ab0a715562e562/NUVEER/JavaGuide |
| og:image:alt | 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - NUVEER/JavaGuide |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-cache |
| go-import | github.com/NUVEER/JavaGuide git https://github.com/NUVEER/JavaGuide.git |
| octolytics-dimension-user_id | 12027364 |
| octolytics-dimension-user_login | NUVEER |
| octolytics-dimension-repository_id | 787980451 |
| octolytics-dimension-repository_nwo | NUVEER/JavaGuide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 132464395 |
| octolytics-dimension-repository_parent_nwo | Snailclimb/JavaGuide |
| octolytics-dimension-repository_network_root_id | 132464395 |
| octolytics-dimension-repository_network_root_nwo | Snailclimb/JavaGuide |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fnew-features%2Fjava21.md |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fnew-features%2Fjava21.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=NUVEER%2FJavaGuide |
| Reload | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md |
| Reload | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md |
| Reload | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md |
| NUVEER | https://github.com/NUVEER |
| JavaGuide | https://github.com/NUVEER/JavaGuide |
| Code | https://github.com/NUVEER/JavaGuide |
| Pull requests | https://github.com/NUVEER/JavaGuide/pulls |
| Actions | https://github.com/NUVEER/JavaGuide/actions |
| Projects | https://github.com/NUVEER/JavaGuide/projects |
| Security and quality | https://github.com/NUVEER/JavaGuide/security |
| Insights | https://github.com/NUVEER/JavaGuide/pulse |
| https://github.com/NUVEER/JavaGuide |
| JavaGuide | https://github.com/NUVEER/JavaGuide/tree/main |
| docs | https://github.com/NUVEER/JavaGuide/tree/main/docs |
| java | https://github.com/NUVEER/JavaGuide/tree/main/docs/java |
| new-features | https://github.com/NUVEER/JavaGuide/tree/main/docs/java/new-features |
| History | https://github.com/NUVEER/JavaGuide/commits/main/docs/java/new-features/java21.md |
| https://github.com/NUVEER/JavaGuide/commits/main/docs/java/new-features/java21.md |
| JavaGuide | https://github.com/NUVEER/JavaGuide/tree/main |
| docs | https://github.com/NUVEER/JavaGuide/tree/main/docs |
| java | https://github.com/NUVEER/JavaGuide/tree/main/docs/java |
| new-features | https://github.com/NUVEER/JavaGuide/tree/main/docs/java/new-features |
| Raw | https://github.com/NUVEER/JavaGuide/raw/refs/heads/main/docs/java/new-features/java21.md |
| JEP 430:String Templates(字符串模板) | https://openjdk.org/jeps/430 |
| JEP 431:Sequenced Collections(序列化集合) | https://openjdk.org/jeps/431 |
| JEP 439:Generational ZGC(分代 ZGC) | https://openjdk.org/jeps/439 |
| JEP 440:Record Patterns(记录模式) | https://openjdk.org/jeps/440 |
| JEP 441:Pattern Matching for switch(switch 的模式匹配) | https://openjdk.org/jeps/442 |
| JEP 442:Foreign Function & Memory API(外部函数和内存 API) | https://openjdk.org/jeps/442 |
| JEP 443:Unnamed Patterns and Variables(未命名模式和变量 | https://openjdk.org/jeps/443 |
| JEP 444:Virtual Threads(虚拟线程) | https://openjdk.org/jeps/444 |
| JEP 445:Unnamed Classes and Instance Main Methods(未命名类和实例 main 方法 ) | https://openjdk.org/jeps/445 |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-430字符串模板预览 |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep431序列化集合 |
| SequencedCollection | https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/SequencedCollection.html |
| SequencedSet | https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/SequencedSet.html |
| SequencedMap | https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/SequencedMap.html |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-439分代-zgc |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-440记录模式 |
| JEP 405 | https://openjdk.org/jeps/405 |
| JEP 432 | https://openjdk.org/jeps/432 |
| Java 20 新特性概览 | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java20.md |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-441switch-的模式匹配 |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-442-外部函数和内存-api第三次预览 |
| JEP 412 | https://openjdk.java.net/jeps/412 |
| JEP 419 | https://openjdk.org/jeps/419 |
| JEP 424 | https://openjdk.org/jeps/424 |
| JEP 434 | https://openjdk.org/jeps/434 |
| JEP 442 | https://openjdk.org/jeps/442 |
| Java 19 新特性概览 | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java19.md |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-443未命名模式和变量预览 |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-444虚拟线程 |
| JEP 425 | https://openjdk.org/jeps/425 |
| Java 20 新特性概览 | https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java20.md |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#jep-445未命名类和实例-main-方法-预览 |
| https://github.com/NUVEER/JavaGuide/blob/main/docs/java/new-features/java21.md#参考 |
| https://howtodoinjava.com/java/java-string-templates/ | https://howtodoinjava.com/java/java-string-templates/ |
| https://howtodoinjava.com/java/sequenced-collections/ | https://howtodoinjava.com/java/sequenced-collections/ |
|
| 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 |