在阅读Thinking in Java的Containers in depth一章中的Holding references时,提到了一个工具包java.lang.ref,说这是个为Java垃圾回收提供了很大的灵活性的包。 并引出了抽象类Reference还有它的三个子类,书上看了好几次都一脸懵逼…… ...
分类:
其他好文 时间:
2019-02-12 00:00:10
阅读次数:
229
https://github.com/ethereum/EIPs/issues/735 Abstract The following describes standard functions for adding, removing and holding of claims.These claim ...
分类:
其他好文 时间:
2018-11-23 16:46:51
阅读次数:
190
1 内存节点node 1.1 为什么要用node来描述内存 这点前面是说的很明白了, NUMA结构下, 每个处理器CPU与一个本地内存直接相连, 而不同处理器之前则通过总线进行进一步的连接, 因此相对于任何一个CPU访问本地内存的速度比访问远程内存的速度要快 Linux适用于各种不同的体系结构, 而 ...
分类:
系统相关 时间:
2018-11-21 01:05:41
阅读次数:
605
10.5 An array of objects ) You can define an array of objects just as an array of built in types: Declaring without initialization requires the class ...
分类:
其他好文 时间:
2018-10-07 21:30:28
阅读次数:
128
使用线程池的好处 引用自 http://ifeve.com/java-threadpool/ 的说明: 降低资源消耗。通过重复利用已创建的线程降低线程创建和销毁造成的消耗。 提高响应速度。当任务到达时,任务可以不需要的等到线程创建就能立即执行。 提高线程的可管理性。线程是稀缺资源,如果无限制的创建, ...
分类:
编程语言 时间:
2018-09-30 18:13:50
阅读次数:
172
最近使有和 Three.js 开发三维页面,觉得很有趣。以前在做WP应用的时候使用过MonoGame做过一点东西,后来Windows 10上来,MonoGame好像不怎么支持了,也没用了。最近在看Windows 下的C# 3D绘图,发现了SharpDx,随藤摸瓜又爬到来了MonoGame 和发现Xe ...
分类:
Windows程序 时间:
2018-09-21 15:09:48
阅读次数:
2363
安装 1.安装rpm包 直接使用yum -y install 命令安装mysql是无法安装mysql的高级版本,需要先安装带有可用的mysql5系列社区版资源的rpm包,输入如下命令进行安装 命令:rpm -Uvh http://dev.mysql.com/get/mysql-community-r ...
分类:
数据库 时间:
2018-09-12 15:53:58
阅读次数:
217
通过modbus_tk模块包,作为master端对寄存器进行读写操作。
分类:
数据库 时间:
2018-08-30 22:12:50
阅读次数:
482
Given a table customer holding customers information and the referee. + + + + | id | name | referee_id| + + + + | 1 | Will | NULL | | 2 | Jane | NULL ...
分类:
数据库 时间:
2018-08-29 01:08:24
阅读次数:
265