隐藏uitabbar的代码:/*** 隐藏UITabbar** @param hidden yes隐藏*/- (void)hidesTabBar:(BOOL)hidden{ [UIView beginAnimations:nil context:NULL]; [UIView setAnimati.....
分类:
其他好文 时间:
2015-11-14 20:36:24
阅读次数:
270
/* ** 介绍Web Sql Database使用 *///web sql database 数据库入口function WebDatabase() {};(function() { /** *@decription 如果数据库不存在,则创建 *@param {String...
分类:
数据库 时间:
2015-11-14 13:41:13
阅读次数:
302
/** * * 直接指定压缩后的宽高: * @param oldFile * 要进行压缩的文件 * @param width * 压缩后的宽度 * @param height * 压缩后的高度 * @return 返回压缩后的文件的全路径 */ public static Fi...
分类:
编程语言 时间:
2015-11-14 10:58:37
阅读次数:
418
1、买卖股票的最佳时机假设有一个数组,它的第i个元素是一支给定的股票在第i天的价格。如果你最多只允许完成一次交易(例如,一次买卖股票),设计一个算法来找出最大利润。 1 public class Solution { 2 /** 3 * @param prices: Given a...
分类:
其他好文 时间:
2015-11-14 00:55:53
阅读次数:
300
public class Solution { /** * @param num: an integer * @return: an integer, the number of ones in num */ /*** * Bit Opperati...
分类:
其他好文 时间:
2015-11-13 12:59:49
阅读次数:
209
public class Solution { /** * @param string: An array of Char * @param length: The true length of the string * @return: The true length...
分类:
其他好文 时间:
2015-11-13 11:38:33
阅读次数:
127
public class Test分组 { /** * @param args */ public static void main(String[] args) { String hql="select p,p.bookses.size from Publishers p where p.b...
分类:
其他好文 时间:
2015-11-12 19:56:17
阅读次数:
134
1 /** 2 * 验证手机号. 3 * 4 * @param phone the phone 5 * @return true, if successful 6 */ 7 public static boolean isPhon...
分类:
编程语言 时间:
2015-11-12 19:37:20
阅读次数:
161
1.配置POM.xml文件,配置项目所需jar2.配置WEB.xml:<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:application-context.xml</param-value>
</context-param>
<listener>
<listener-cl..
分类:
编程语言 时间:
2015-11-12 06:41:49
阅读次数:
310
1.配置POM.xml文件,配置项目所需jar包2.配置WEB.xml:配置spring监听器<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:application-context.xml</param-value>
</context-param>
<listener&g..
分类:
编程语言 时间:
2015-11-12 06:39:44
阅读次数:
532