Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:
其他好文 时间:
2014-09-09 18:01:59
阅读次数:
146
关于Cas实现单点登入(single sing on)功能的文章在网上介绍的比较多,想必大家多多少少都已经有所了解,在此就不再做具体介绍。如果不清楚的,那只能等我把single sign on这块整理出来后再了解了。当然去cas官方网站也是有很多的文章进行介绍。cas官网http://www.ja-...
分类:
其他好文 时间:
2014-09-09 17:46:39
阅读次数:
310
1. 前言在开发面向现代智能手机的移动Web应用的时候,无法避免一个事实,就是需要开发单页应用(Single Page WebApp)。对于不同的系统需求,单页应用的粒度会不同,可能是整个系统都使用一个页面装载,也可能是按模块分为独立页面装载。在开发单页应用时第一个要处理的问题就是页面结构化,由于多...
分类:
移动开发 时间:
2014-09-09 12:22:08
阅读次数:
237
一、自适应屏幕Webview自适应屏幕实现的三种方法。第一种: WebSetting settings = webView.getSettings(); settings.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); 把所有内容放在web...
分类:
移动开发 时间:
2014-09-09 12:17:08
阅读次数:
266
You should do it in a single SQL statement if at all possible. And believe it or not, it is almost always possible.If you can’t do it in a single SQL ...
分类:
移动开发 时间:
2014-09-09 12:16:38
阅读次数:
262
Regular Expression MatchingProblem description:Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Ma...
分类:
其他好文 时间:
2014-09-09 11:37:58
阅读次数:
281
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-09-07 22:19:15
阅读次数:
280
近日须要不同的编码,关于上述编码,一直迷迷糊糊,查了些资料,总算大致了解了,以下全是从网上搜来的:1.ASCII和Ansi编码 字符内码(charcter code)指的是用来代表字符的内码.读者在输入和存储文档时都要使用内码,内码分为 单字节内码 -- Single-Byte charact...
分类:
其他好文 时间:
2014-09-07 19:46:45
阅读次数:
235
多线程设计模式:1.Single Threaded Execution Pattern[同一时刻只允许一个线程操作]比喻:三个挑水的和尚,只能同一时间一个人过桥,不然都掉河里喂鱼了。总结:在多个线程同时要访问的方法上加上synchronized关键字。2.Immutable Pattern[变量赋值...
分类:
编程语言 时间:
2014-09-07 03:16:34
阅读次数:
216
1 public class singleNum { 2 /* 3 * 因为a^b^a=b,所以1^2^2^3^3=1 4 * 5 * */ 6 7 public int single(int A[]) 8 { 9 ...
分类:
其他好文 时间:
2014-09-06 13:37:43
阅读次数:
183