Writer:BYSocket(泥沙砖瓦浆木匠)微博:BYSocket豆瓣:BYSocket容器是Java语言学习中重要的一部分。泥瓦匠我的感觉是刚开始挺难学的,但等你熟悉它,接触多了,也就“顺理成章”地知道了。Java的容器类主要由两个接口派生而出:Collection和Map。一、Collect...
分类:
编程语言 时间:
2015-03-13 22:12:12
阅读次数:
303
Java8中的steram仅仅代表着数据流,与InputStream,OutPutStream是完全不同的概念。这里的stream
是对集合(collection)功能的增强,更专注于对集合对象的各种便利、高效的聚合,大批量数据操作。
collec()函数
将stream返回的元素拼成ArrayList。参数为Collectros接口,提供极大的便利
R collect(Collect...
分类:
编程语言 时间:
2015-03-09 22:30:30
阅读次数:
205
1.命令行连接MongoDB2.查看所有数据库3.数据库之间切换4.查看某数据库下所有collection有两种方式5.创建数据库 同切换数据库但是,如果不对数据库进行操作(应该是写入相关的),则系统自动回收该数据库6.删除数据库7.创建collection 其中szc1_test1是collect...
分类:
数据库 时间:
2015-03-09 12:17:26
阅读次数:
167
Read the HOPE model paper.Collect the character statistics of a news corpus to do classification. Libsvm is still running.Modify iKids code.Start read...
分类:
其他好文 时间:
2015-03-09 00:26:16
阅读次数:
120
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payments. However,...
分类:
其他好文 时间:
2015-03-06 11:24:03
阅读次数:
142
1.集合接口与集合类型(1)集合的命名空间 大多数集合类都可以在System.Collections和System.Collections.Generic名称空间中找到。泛型集合位于System.Collections.Generic名称空间中;专用于特定类型的集合类位于System.Collect...
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou...
分类:
其他好文 时间:
2015-03-02 20:40:28
阅读次数:
178
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou...
分类:
其他好文 时间:
2015-02-22 17:16:11
阅读次数:
154
一、zabbix官网对proxy的介绍A Zabbix proxy can collect performance and availability data on behalf of the Zabbix server. This way, a proxy can take on itself s...
分类:
其他好文 时间:
2015-02-15 14:52:46
阅读次数:
375
lua内存泄露
首先第一点,lua中的内存泄露和我们所说的c/c++中的内存泄露本质上是不一样的。
lua中有垃圾回收机制(GC),所以理论上是不会有内存泄露的。当它进行GC的时候,会从根部开始扫描所有的对象,如果某个地方对这个对象还有引用,就不会把这个对象内存collect,这个对象就没有被GC。所以lua中的内存泄露是指那些:已经没有被使用了,但外部依然还有引用存在的对象。
--函数...
分类:
其他好文 时间:
2015-02-13 16:41:04
阅读次数:
158