一、ArrayList源码分析 1、全局变量 (1)默认容量(主要是通过无参构造函数创建ArrayList时第一次add执行扩容操作时指定的elementData的数组容量为10) private static final int DEFAULT_CAPACITY = 10; (2)空的对象数组(当 ...
分类:
编程语言 时间:
2018-08-05 16:58:17
阅读次数:
173
<Engine name="Catalina" defaultHost="xx.xx.xx.xx"> <!--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple how to ...
分类:
其他好文 时间:
2018-08-05 11:57:14
阅读次数:
176
第30章 分析函数select ename,sal,(select max(sal) from emp) msal from emp;select ename,sal,max(sal) over() msal from emp;求每个部门的最大值select ename,sal,max(sal) o ...
分类:
其他好文 时间:
2018-08-04 18:48:44
阅读次数:
143
Every year, Farmer John's N (1 <= N <= 20,000) cows attend "MooFest",a social gathering of cows from around the world. MooFest involves a variety of e ...
分类:
编程语言 时间:
2018-08-03 19:42:50
阅读次数:
183
1. tf.add(a, b) 与 a+b 在神经网络前向传播的过程中,经常可见如下两种形式的代码: tf.add(tf.matmul(x, w), b) tf.matmul(x, w) + b 简而言之,就是 tf.add(a, b) 与 a + b二者的区别,类似的也有,tf.assign 与 ...
分类:
其他好文 时间:
2018-08-02 23:02:43
阅读次数:
397
A. Generate Login The preferred way to generate user login in Polygon is to concatenate a prefix of the user's first name and a prefix of their last n ...
分类:
其他好文 时间:
2018-08-02 22:53:56
阅读次数:
336
/** * Created by Sandy.Liu on 2018/7/28. * Thinking in java version 4, chapter 5, practice 2 * Create a class which includes two string values, one is ...
分类:
编程语言 时间:
2018-08-02 10:20:48
阅读次数:
146
参考: eval/exec/compile的区别:https://stackoverflow.com/questions/2220699/whats-the-difference-between-eval-exec-and-compile-in-python pickle的使用: https://p ...
分类:
编程语言 时间:
2018-08-01 12:04:15
阅读次数:
161
Transaction Script(事务脚本模式),是一种最简单和最容易接受的处理业务的方法。这种模式是采用面向过程的方式来组织业务逻辑。通常情况下,系统的一个流程会被实现为一个方法,然后所有的方法被组织在一起,放在一个类中。 设计思想:取数据 》逻辑 》数据展示。 存数据 》逻辑 》保存数据。 ...
分类:
其他好文 时间:
2018-07-31 21:37:08
阅读次数:
100
Start Books and courses are frustrating. They give you lots of recipes and snippets, but you never get to see how they all fit together. When you are ...
分类:
其他好文 时间:
2018-07-29 13:03:59
阅读次数:
171