1.标签value 默认来自top of stack,默认的类型是Object取username(对象)的值,显示一个字符串如果找不到指定一个默认值'" escape="false" />以html元素在页面显示2.标签scope存放的位置default value is Action(一般是名字太...
分类:
其他好文 时间:
2014-12-15 23:36:11
阅读次数:
233
介绍Android的动画效果分为两种: tweened animation(补间动画)和frame by frame animation。一般我们用的是第一种。补间动画又分为:AlphaAnimation,透明度转换 RotateAnimation,旋转转换 ScaleAnimation,缩放转换 ...
分类:
移动开发 时间:
2014-12-15 21:34:26
阅读次数:
199
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get...
分类:
其他好文 时间:
2014-12-15 17:25:36
阅读次数:
212
输入 :后缀表达式(可带浮点数)输出:double型的计算结果代码:#include #include #include #define ElemType double#define Stack_Init_Size 100#define Increase_Size 10#define MaxBuff...
分类:
其他好文 时间:
2014-12-15 13:28:57
阅读次数:
157
在项目开发中遇到下面几个问题:
1. 有些viewcontroller是中间界面(或者叫做过渡界面)是不能返回的
2. 有时候,想更新一下已经push到navigationController中的viewController。
3. 前两个结合的情况。...
分类:
其他好文 时间:
2014-12-14 18:38:07
阅读次数:
161
在安装oracle时,需要进行资源限制配置:
noexec_user_stack=1
semsys:seminfo_semmni=100
semsys:seminfo_semmns=1024
semsys:seminfo_semmsl=256
semsys:seminfo_semvmx=32767
shmsys:shminfo_shmmax=4294967295
shmsys:shminfo_shmmni=100
rlim_fd_max=65536
rlim_fd_cur=4096
maxuprc=1638...
分类:
其他好文 时间:
2014-12-14 17:18:08
阅读次数:
205
统一引擎内部创建SpriteFrame的数据结构
将Plist的解析工作转移到了cc._plistLoader中去,对SAXParser进行了改造。
统一了引擎创建SpriteFrame的数据结构:
{
_inited : true,
frames : {
"a_frame_0.png" : {
rect : {x : 0, y...
分类:
Web程序 时间:
2014-12-14 14:37:54
阅读次数:
209
Catalogue:string-类型转换
Question
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /. Each operand may be an integer or another expression.
Some...
分类:
其他好文 时间:
2014-12-14 13:20:32
阅读次数:
130
栈帧(Stack Frame)是用于支持虚拟机进行方法调用和方法执行的数据结构,它是虚拟机运行时数据区的虚拟机栈(Virtual Machine Stack)的栈元素。栈帧存储了方法的局部变量表,操作数栈,动态连接和方法返回地址等信息。第一个方法从调用开始到执行完成,就对应着一个栈帧在虚拟机栈中从入栈到出栈的过程。
每一个栈帧都包括了局部变量表,操作数栈,动态连接,方法返回地址和一些额外的...
分类:
编程语言 时间:
2014-12-14 13:18:31
阅读次数:
227
实现O(1)时间取得栈最小值。基本思路是新建一个minstack的栈,维护minstack的从上到下递增序,栈顶位当前stack最小值。当push时比较如果比minstack栈顶小于或等于就push进去,pop的时候如果要pop的元素与minstack栈顶相等从minstack同时pop。class...
分类:
其他好文 时间:
2014-12-14 11:50:46
阅读次数:
147