
jdk8
Charles2628
这个作者很懒,什么都没留下…
展开
-
查看JVM默认配置参数
###### load-nacos-config Dockerfile#############FROM docker.io/alpine:latestRUN echo "https://mirrors.aliyun.com/alpine/v3.6/main/" > /etc/apk/repositoriesRUN echo "https://mirrors.aliyun.com/alpine/v3.6/community/" >> /etc/apk/repositoriesRU.原创 2020-12-17 13:46:32 · 672 阅读 · 0 评论 -
JDK8 FunctionalInterface
/**An informative annotation type used to indicate that an interfacetype declaration is intended to be a functional interface asdefined by the Java Language Specification.FunctionalInterface 是一个标记接口。Conceptually, a functional interface has exactly on原创 2020-08-02 20:59:34 · 189 阅读 · 0 评论 -
JDK8新特性,官方说明,转发
https://www.oracle.com/cn/java/technologies/javase/8-whats-new.html翻译 2020-07-06 14:23:10 · 225 阅读 · 0 评论 -
JDK8--方法引用Method References
根据官网https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.htmlJDK8支持的方法引用有4中。第一个:静态方法第二个:实例对应方法第三个:class类型方法, 这个跟第一个很像,只是这边是非静态方法第四个:无参数的构造方法, 主要配合Supplier,做到延迟创建的效果。方法引用产生的目的就是来简化lambda表达式...原创 2020-07-06 13:44:26 · 246 阅读 · 0 评论 -
Lambda 表达式一些理解
由于工作原因,公司使用JDK7的版本, JDK8几乎没有使用到。之前曾经了解到Lambda 表达式, function功能性函数,ConcurrentHashMap等在JDK8了升级优化等。中文版 jdk8官方说明:https://www.oracle.com/cn/java/technologies/javase/8-whats-new.html仅仅对相关重要的特性做一下学习。1.Lambda 表达式, 相信凡是使用过JDK8的人,应该对这个耳熟能详了。 但Lambda 的实现原...原创 2020-07-06 12:40:11 · 396 阅读 · 0 评论