Java 集合框架 Java集合框架图 简化图: Java平台提供了一个全新的集合框架。“集合框架”主要由一组用来操作对象的接口组成。 不同接口描述一组不同数据类型。 1、Java 2集合框架图 ①集合接口:6个接口(短虚线表示),表示不同集合类型,是集合框架的基础。 ②抽象类:5个抽象类(长虚线表 ...
分类:
编程语言 时间:
2017-05-14 16:08:07
阅读次数:
315
https://en.wikipedia.org/wiki/Sorting_algorithm Computational complexity theory Big O notation Total order Lists Inplacement Stability Comparison sort ...
分类:
编程语言 时间:
2017-05-14 13:42:24
阅读次数:
164
题目: Given a linked list, determine if it has a cycle in it. Example Given -21->10->4->5, tail connects to node index 1, return true Given -21->10->4-> ...
分类:
其他好文 时间:
2017-05-13 12:33:08
阅读次数:
124
sublime是个跨平台的强大的代码编辑工具,不多说。 想使用sublime完毕linux平台下django网站的代码编辑工作以提高效率(原来使用linux下的vim效率较低,适合编辑一些小脚本)。 下载linux平台下的Sublime_Text_2.0.2_x64.tar.bz2(http://w ...
http://www.thecodecrate.com/ios/objective-c/objective-c-property-synthesize/ 01. atomic // default02. nonatomic03. strong=retain // default04. weak= u ...
分类:
移动开发 时间:
2017-05-11 11:34:11
阅读次数:
311
参数化,1、选项->函数助手 random和 random_string, time参数化时间生成后直接 在参数里替代 __uuid唯一值 2、csv_data_set_config: varibles name :参数化名,变量名两个以上 ,逗号分割 allow quoted data ?去掉参数... ...
分类:
其他好文 时间:
2017-05-11 11:33:04
阅读次数:
1071
ArrayList是一个数组队列,相当于是一个动态的数组,可以实现增删查改和遍历的功能(继承于AbstractList类),可以随机访问(实现了RandmoAccess接口),而且可以根据元素的序列号,快速去获取对象。 api接口(摘自http://www.cnblogs.com/skywang12 ...
分类:
其他好文 时间:
2017-05-10 00:15:52
阅读次数:
240
题目描述 Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it without using extra sp ...
分类:
其他好文 时间:
2017-05-09 15:46:02
阅读次数:
212
题目描述 Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 解题思路:使用快慢指针,若在遍历过程中slow==fast则有环,否则 ...
分类:
其他好文 时间:
2017-05-08 16:07:35
阅读次数:
181
双击PlcTask,然后再Cycle ticks中可以修改PLC的扫描周期,例如修改为2ms 为了验证是否真的是2ms,可以在程序中跟计数器绑定使用,PLC2ms扫描一次,计数器也是每个周期增加0.002,所以可以看时间是不是一秒一秒的增加。 在TC2中,需要切换到Task configuratio... ...
分类:
Windows程序 时间:
2017-05-08 11:18:48
阅读次数:
3039