38 Unstar Star 99 Fork 64

邓海二 / javase8-sampleJavaScriptApache-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
用来演示Java SE 8 各种新特性的示例 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

#javase8-sample 该项目仅用于学习java8,请随意Fork,更改 #博文地址 http://my.oschina.net/benhaile/blog 所有博客的源代码都能在这里 src/main/java/java8sample

Chapter 1: 通往lambda之路_语法篇

Chapter 2: 深入解析默认方法

Chapter 3: 解开lambda最强作用的神秘面纱

Chapter 4: 类型注解 复杂还是便捷

Chapter 5: 重复注解(repeating annotations)

Chapter 6: 泛型的目标类型推断

Chapter 7: 深入解析日期和时间-JSR310

Chapter 8: 精简的JRE详解

Chapter 9: 跟OOM:Permgen说再见吧

Chapter 10: StampedLock将是解决同步问题的新宠

Chapter 11: Base64详解

Chapter 12: Nashorn:新犀牛

Chapter 13: JavaFX 8新特性以及2048游戏

持续更新中!

#JDK8环境

最新版本下载地址: http://www.oracle.com/technetwork/java/javase/downloads/index.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)

#编译/运行例子

使用 maven:

$ mvn compile

$ cd target/classes

$ java javase8sample/setupcheck/ConfigureYourLambdaBuildOfJdk

Comments ( 1 )

Sign in for post a comment

JavaScript
1
https://gitee.com/benhail/javase8-sample.git
git@gitee.com:benhail/javase8-sample.git
benhail
javase8-sample
javase8-sample
master

Search