{"id":15068914,"url":"https://github.com/niumoo/jdk-feature","last_synced_at":"2025-10-05T03:13:05.001Z","repository":{"id":100516951,"uuid":"171087990","full_name":"niumoo/jdk-feature","owner":"niumoo","description":"☕【Java 新特性系列】Java 版本任你发，我用 Java 8 。但是多学点这种奇巧的装 X 技巧总没错，何况有些新语法说不定是真香呢。","archived":false,"fork":false,"pushed_at":"2021-02-23T09:46:36.000Z","size":76,"stargazers_count":19,"open_issues_count":2,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T14:51:21.215Z","etag":null,"topics":["java","java10","java11","java8","java8-lambda-expression","java8-stream","java8-tutorial","java9"],"latest_commit_sha":null,"homepage":"https://www.wdbyte.com/categories/Java-%E6%96%B0%E7%89%B9%E6%80%A7/","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/niumoo.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":"2019-02-17T06:04:31.000Z","updated_at":"2023-02-28T02:20:54.000Z","dependencies_parsed_at":"2023-05-15T16:16:04.104Z","dependency_job_id":null,"html_url":"https://github.com/niumoo/jdk-feature","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/niumoo%2Fjdk-feature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niumoo%2Fjdk-feature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niumoo%2Fjdk-feature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niumoo%2Fjdk-feature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niumoo","download_url":"https://codeload.github.com/niumoo/jdk-feature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261580,"owners_count":21074223,"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":["java","java10","java11","java8","java8-lambda-expression","java8-stream","java8-tutorial","java9"],"created_at":"2024-09-25T01:39:42.972Z","updated_at":"2025-10-05T03:13:04.910Z","avatar_url":"https://github.com/niumoo.png","language":"Java","readme":"# Java 新特性\nJava 新特性系列，随着新版 Java 的发布不断更新。如果觉得不错，欢迎⭐Star️，欢迎 Fork !\n\n每个 Java 版本的新特性都有对应的文章详细介绍，想了解的可以访问我的 Java 新特性系列文章。\n\n[Java 新特性系列文章]([https://www.wdbyte.com/categories/Java-%E6%96%B0%E7%89%B9%E6%80%A7/](https://www.wdbyte.com/categories/Java-新特性/))\n\n## Java 10 \n\n[JEP 322 - 基于时间的版本号](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-10/src/net/codingme/feature/jdk10/Java10Version.java)\n\n[JEP 286 - 局部类型推断](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-10/src/net/codingme/feature/jdk10/Java10Var.java)\n\nJEP 317 - 基于 Java 的 JIT 编译器（实验性）\n\nJEP 310 - 类数据共享\n\nJEP 307 - G1 并行全GC\n\n[JEP 314 - Unicode 语言标签扩展](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-10/src/net/codingme/feature/jdk10/Java10Unicode.java)\n\n## Java 9 \n\n[模块化](https://github.com/niumoo/jdk-feature/tree/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9)\n\n[集合工厂方法](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9/Jdk9CollectionFactory.java)\n\n[Stream API](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9/Jdk9Stream.java)\n\n[接口私有方法](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9/Jdk9Interface.java)\n\n[HTTP/2 Client](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9/Jdk9Http.java)\n\n[Java REPL - JShell](https://github.com/niumoo/jdk-feature/tree/master/jdk-feature-9/src/main/java/net/codingme/feature/jdk9)\n\n\n## Java 8  \n[函数式编程](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-8/src/main/java/net/codingme/feature/jdk8/Jdk8Function.java)\n\n[Lambda 表达式](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-8/src/main/java/net/codingme/feature/jdk8/Jdk8Lambda.java)\n\n[新的时间函数 LodalDateTime](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-8/src/main/java/net/codingme/feature/jdk8/Jdk8LocalDateTime.java)\n\n[防止空指针的 Optional](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-8/src/main/java/net/codingme/feature/jdk8/Jdk8Optional.java)\n\n[接口默认方法](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-8/src/main/java/net/codingme/feature/jdk8/Jdk8Interface.java)\n\n## Java 7 \n[资源自动关闭 Autoclosable](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/AutoCloseThrow.java)\n\n[变长参数 String... args](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/AutoParams.java)\n\n[多进制赋值法](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/Binary.java)\n\n[下划线数字](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/NumberLine.java)\n\n[switch 和字符串](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/SwitchWithString.java)\n\n[多异常捕获 ](https://github.com/niumoo/jdk-feature/blob/master/jdk-feature-7/src/net/codingme/feature/jdk7/TryCatchMany.java)\n\n## 交流\n![](https://user-images.githubusercontent.com/26371673/69558482-46eab080-0fe3-11ea-8fa7-d9d824b7bed4.jpg)  \n🐟 欢迎关注公众号：未读代码(weidudaima)，一起成长，欢迎⭐Star️，欢迎 Fork !\n\n## 导入 IDEA\n导入 IDEA 后请在项目结构立为每个模块设置对应的 JDK 版本，不然你可能会遇到超越当前 JDK 版本语法的报错。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniumoo%2Fjdk-feature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniumoo%2Fjdk-feature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniumoo%2Fjdk-feature/lists"}