{"id":18863605,"url":"https://github.com/neiljbrown/java10-examples","last_synced_at":"2025-04-14T13:06:45.391Z","repository":{"id":89469394,"uuid":"149886175","full_name":"neiljbrown/java10-examples","owner":"neiljbrown","description":"Java code examples for the major new language features that were added to Java 10. ","archived":false,"fork":false,"pushed_at":"2018-10-01T20:25:08.000Z","size":119,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T02:11:15.359Z","etag":null,"topics":["examples","java","java10"],"latest_commit_sha":null,"homepage":null,"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/neiljbrown.png","metadata":{"files":{"readme":"README.adoc","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":"2018-09-22T14:47:53.000Z","updated_at":"2023-02-21T15:12:17.000Z","dependencies_parsed_at":"2023-03-13T18:09:29.446Z","dependency_job_id":null,"html_url":"https://github.com/neiljbrown/java10-examples","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/neiljbrown%2Fjava10-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Fjava10-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Fjava10-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neiljbrown%2Fjava10-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neiljbrown","download_url":"https://codeload.github.com/neiljbrown/java10-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886314,"owners_count":21177643,"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":["examples","java","java10"],"created_at":"2024-11-08T04:37:59.728Z","updated_at":"2025-04-14T13:06:45.088Z","avatar_url":"https://github.com/neiljbrown.png","language":"Java","readme":"= Java 10 Examples\n:sectlinks:\n:sectnums:\n:sectnumlevels: 4\n:toclevels: 4\n\n== Purpose\nThis project provides a set of Java code examples illustrating the new language features and APIs introduced in Java 10.\n\nThe examples are implemented as a set of easy to run tests, using JUnit (5).\n\nFor a broader overview of the new features in JDK 10 that are of most interest to developers see my blog post\nhttps://neiljbrown.com/2018/08/11/java-10-new-features-code-examples-support/.\n\n== Source Code\nThe source code for the examples can be found in the src/test/java folder.\n\nAn explanation and guidance on the usage of each of the showcased language features can be found in the Javadoc of\neach of the code examples. (See commands for generating Javadoc below).\n\n== Building and Running the Examples\nYou will need to install a Java 10 JDK.\n\nSupport is provided for building and running the project using either Gradle or Maven as described in the sections\nbelow.\n\n=== Gradle\nThe minimum required version of Gradle will be installed if you execute the build using the supplied Gradle wrapper\nscript (./gradlew).\n\nTo compile and run all the example tests, enter the  following command in the project's root folder:\n\n`./gradlew clean test`\n\nTo generate the Javadoc, use the following command:\n\n`./gradlew clean javadocTests`\n\nThe generated Javadoc can be found in the standard location for a Gradle project - build/docs/javadoc/index.html.\n\nFor more details of Gradle build support see build.gradle in the project's root folder.\n\n=== Maven\nThe minimum required version of Maven will be installed if you execute the build using the supplied Maven wrapper\nscript (./mvnw).\n\nTo compile and run all the example tests, enter the following command in the project's root folder:\n\n`./mvnw clean test`\n\nTo generate the Javadoc, use the following command:\n\n`./mvnw javadoc:test-javadoc`\n\nThe generated Javadoc can be found in the standard location for a Maven project - target/site/testapidocs/index.html.\n\nFor more details of Maven build support see pom.xml in the project's root folder.\n\n== Other Examples\nYou can find similar code examples for the new features introduced in earlier versions in Java in my other code\nrepos, including -\n\n* Java 9 - See https://github.com/neiljbrown/java9-examples[GitHub project neiljbrown/java9-examples]\n* Java 7 and 8 - See my https://bitbucket.org/neilbrown/[Bitbucket projects]","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneiljbrown%2Fjava10-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneiljbrown%2Fjava10-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneiljbrown%2Fjava10-examples/lists"}