优先级:() 算术操作符+-*/% 赋值= String类的链接符 + += 区分引用类型的t1=t2 t1.level=t2.level是不同的。 ++ -- 自增自减 a++ ++a区别 关系操作符 > < >= <= == != (比较东西) 逻辑操作符 || && ! 这个是短路或短路与 | ...
分类:
编程语言 时间:
2018-08-19 11:03:05
阅读次数:
154
Trident(IE内核):指IE内核浏览器,以微软操作系统的webcontrol控件为内核,常见的有IE6、IE7、IE8(Trident 4.0)、IE9(Trident 5.0)、IE10(Trident 6.0)。 火狐内核:指Gecko引擎,代表作Mozilla FirefoxGecko是 ...
分类:
其他好文 时间:
2018-08-18 21:44:50
阅读次数:
177
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:
其他好文 时间:
2018-08-18 18:38:31
阅读次数:
198
一、知识预备 根据使用Serializable的使用场景,可以发现所涉及的场景都是跨进程的,就是要做的事情不是在一个java进程中完成的,我们都知道java进程是基于jvm跑起来的,而每一个被创建出来的对象都是放在堆里面的,如对象实例中的属性值,但是跨进程时每个Java进程都有一个jvm,也就是各自 ...
分类:
其他好文 时间:
2018-08-18 13:27:17
阅读次数:
184
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:
其他好文 时间:
2018-08-17 19:58:45
阅读次数:
162
题目描述 输入描述: 输出描述: 输入例子: 输出例子: ...
分类:
其他好文 时间:
2018-08-17 19:08:07
阅读次数:
126
A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcode.com ...
分类:
其他好文 时间:
2018-08-17 12:52:41
阅读次数:
166
题目描述 输入描述: 输出描述: 输入例子: 输出例子: ...
分类:
其他好文 时间:
2018-08-17 12:52:24
阅读次数:
118
Given a non-empty tree with root R, and with weight W~i~ assigned to each tree node T~i~. The weight of a path from R to L is defined to be the sum of ...
分类:
其他好文 时间:
2018-08-16 19:47:31
阅读次数:
180
平时学习中碰到过一些很有意思的代码写法。记录下来,提升下Level。当然由于我是个新手,可能有少见多怪之嫌。 使用Pattern类 匹配正则表达式 int num = 1; String REG = "[0-9]+";//填入需要的正则表达式规则 Pattern pattern = Pattern. ...