开源软件名称:java8/Java8InAction开源软件地址:https://github.com/java8/Java8InAction开源编程语言:Java 100.0%开源软件介绍:Java8InActionThis repository contains all the source code for the examples and quizzes in the book Java 8 in Action: Lambdas, Streams and functional-style programming. You can purchase the book here: http://manning.com/urma/ or on Amazon The source code for all examples can be found in the directory src/main/java/lambdasinaction
Make sure to have JDK8 installedThe latest binary can be found here: http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html $ java -version java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) You can download a preview version here: https://jdk8.java.net/ Compile/Run the examplesUsing maven: $ mvn compile $ cd target/classes $ java lambdasinaction/chap1/FilteringApples Alternatively you can compile the files manually inside the directory src/main/java You can also import the project in your favorite IDE: * In IntelliJ use "File->Open" menu and navigate to the folder where the project resides * In Eclipse use "File->Import->Existing Maven Projects" (also modify "Reduntant super interfaces" to report as Warnings instead of Errors * In Netbeans use "File->Open Project" menu |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论