Given a string, determine if it is a palindrome, considering only alphanumeric
characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrome.
"race a car" i...
分类:
其他好文 时间:
2014-06-24 18:16:02
阅读次数:
147
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:
其他好文 时间:
2014-06-20 15:20:38
阅读次数:
176
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:
其他好文 时间:
2014-06-18 15:58:10
阅读次数:
149
使用注解进行简化aop的配置
切点是run方法
Car.java
package com.lubby.bean;
import org.springframework.stereotype.Component;
@Component("car")
public class Car {
public void run(){
System.out.println("Car i...
分类:
编程语言 时间:
2014-06-18 12:17:12
阅读次数:
269
Cold weather is coming and in some northern states is already here. That means it’s time to winterize your car. Vehicle maintenance is something we do...
分类:
其他好文 时间:
2014-06-17 14:39:34
阅读次数:
255
Problem E: 交通工具信息
Description
有一个交通工具类vehicle,将它为 基类派生的有派生小车类car,卡车类truck和轮船类boat,定义这些类,并使其能够显示其各类交通工具的详细信息。
他们包含的信息,有如下几种:
1.名字 -----与输入的名字相符合
2.时速(km/h) -----最高时速
3.耗油量(L/100km) ...
分类:
其他好文 时间:
2014-06-16 18:40:26
阅读次数:
183
经过大牛同事的一句指点立刻明白的代理实现方式,Spring Aop应该也是这么去做的。直接上代码
实现在Car的run方法之前调用star方法,在run方法之后调用stop方法。
Car类
package com.lubby.test;
public class Car {
public void run() {
System.out.println("I am running......
分类:
编程语言 时间:
2014-06-15 08:48:20
阅读次数:
240
Gas StationThere areNgas stations along a circular
route, where the amount of gas at stationiisgas[i].You have a car with an
unlimited gas tank and it...
分类:
其他好文 时间:
2014-06-12 08:21:14
阅读次数:
294
建议***一些不必要的垃圾文件:把你不清楚的文件夹都***掉就行了,既节省空间又能保证软件稳定性,你知道的比如Camera、Ringtones、Recorder、Photo、Music、Backup、Video保留我就是只保留了这7个与个人相关的文件夹,其余的文件全部都***掉了,放心,很安全莫名其妙的的卡顿..
分类:
移动开发 时间:
2014-06-10 22:34:07
阅读次数:
373