/*abs(n)返回参数n所指定数值的绝对值(如果参数值为NULL,则返回结果为NULL,下同)。*/--SELECT ABS(-3.14) FROM DUAL; --3.14/*round(n[, m])返回对参数n进行四舍五入处理后的结果。参数n可以是任意数字、m则必须为整数。如果省略参数m,....
分类:
数据库 时间:
2014-06-15 16:48:23
阅读次数:
300
String saveFolder = "C:\\";Preferences pref = Preferences.userRoot().node(this.getClass().getName());String lastPath = pref.get("lastPath", "");JFileC...
分类:
其他好文 时间:
2014-06-15 07:39:42
阅读次数:
447
///////////////////////////////////////////////////////////////////////////////Action 调用 Commandpublic class xxxxxAction extends AbstractAIFAction {pu...
分类:
其他好文 时间:
2014-06-15 07:04:47
阅读次数:
332
写得很好: http://blog.csdn.net/hitwhylz/article/details/19689567CCNode类的setPosition,getPosition函数如果是一个Node的Child则获取的坐标就是该Node的本地坐标(原点为父节点左下角)。 另一个关键问...
分类:
其他好文 时间:
2014-06-15 06:25:50
阅读次数:
203
一年前,准备使用mongDb自带的map,reduce功能模拟hadoop,换个思路做一个简易的大数据分拆再结合存储的办法;这个功能可以用于数据日志或者游戏数据之类,进行周期性归纳和按照自己需求重组数据;以下代码实现了将每日数据collecttion:gameLog日期的数据统计出不同的collec...
分类:
数据库 时间:
2014-06-14 22:38:35
阅读次数:
432
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188
$\bf引理:$设$\int_a^{ + \infty } {f\left( x \right)dx} $收敛,且${f\left( x \right)}$在$\left[ {a,{\rm{ + }}\infty } \right)$单调,则$\lim \limits_{x \to + \infty...
分类:
其他好文 时间:
2014-06-14 19:16:24
阅读次数:
372
$\bf引理:$设$\int_a^{ + \infty } {f\left( x \right)dx} $收敛,且${f\left( x \right)}$在$\left[ {a,{\rm{ + }}\infty } \right)$单调,则$\lim \limits_{x \to + \infty...
分类:
其他好文 时间:
2014-06-14 18:55:58
阅读次数:
172
linux下Oracle11g RAC搭建(五)
四、建立主机间的信任关系(node1、node2)
建立节点之间oracle 、grid 用户之间的信任(通过ssh 建立公钥和私钥)
分别在node1和node2创建
=====Oracle用户=========================
在oracle用户下操作:
[root@node1 /]# su -...
分类:
数据库 时间:
2014-06-14 13:03:48
阅读次数:
297