摘要:
官方地址 首先选择主键原因 Selecting the Primary Key The number of columns in the primary key is not explicitly limited. Depending on the data structure, you can 阅读全文
摘要:
1. Vert.x 介绍 Vert.x是Eclipse软件基金会顶级JAVA开源项目之一,它基于netty的、运行在jvm之上的、支持多种编程语言的高性能异步、非阻塞、响应式开发工具包。 Vert.x is a tool-kit and not a framework that ships with 阅读全文
摘要:
首先看以下代码 public class Oddity { private static int[] o = new SplittableRandom().ints().limit(1000000).parallel().filter(i->(1&i)==1).toArray(); public s 阅读全文
摘要:
经常使用的 java.util.Random 类,是PRNG,采用线性同余算法产生的,也称为伪随机分布。会发生不够随机的情况,比如以下例子: public static void main(String[] args) { for (int i = 0; i < 4096; i++) { int r 阅读全文