使用注解进行简化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
var status = new Enums.AffairsOperatingResult(); int typeNum = 0; int.TryParse(statusStr, out typeNum); try ...
分类:
其他好文 时间:
2014-06-18 11:14:40
阅读次数:
181
题目
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should rem...
分类:
其他好文 时间:
2014-06-17 22:15:52
阅读次数:
299
motorola scanner datasheet相关解释(以下通过Simple Serial Interface(SSI)进行设置,非扫描官方datasheet的设置条码):
One Discrete Length:一个单独的条码长度,就是扫描头设置以后,只支持指定的一个长度的条码,发送格式:指定的条码长度作为长度参数1的值,长度参数2的值设置为0x00即可(比如设置interlea...
分类:
移动开发 时间:
2014-06-17 19:33:52
阅读次数:
296
题目
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
方法
public int romanToInt(String s) {
HashMap hm = new H...
分类:
其他好文 时间:
2014-06-17 19:27:48
阅读次数:
324
importjava.util.Calendar;
publicclassCalendarTest
{
/**
*Jun16,2014
*/
publicstaticvoidmain(String[]args)
{
//TODOAuto-generatedmethodstub
Calendarc=Calendar.getInstance();//默认由当前的日期和时间初始化
System.out.println(c.getClass().getNam..
分类:
其他好文 时间:
2014-06-17 18:34:21
阅读次数:
202
Use‘svnupdate’asmuchaspossible第一次发布的时候,会把工作目录下的所有文件清空,然后check-out一份完整的项目到工作目录下;以后更新的时候,不会判断已有文件是否在svn里存在。比如工作目录下的文件123在svn里不存在,那么更新的时候不会删除123。不会判断工作目录下的文..
分类:
其他好文 时间:
2014-06-17 18:07:43
阅读次数:
6157
importjava.text.DecimalFormat;
publicclassDecimalFormatTest
{
publicstaticvoidmain(String[]args){
DecimalFormatdf1,df2;
System.out.println("整数部分0/#的区别");
df1=newDecimalFormat("#.00");
df2=newDecimalFormat("0.00");
System.out.p..
分类:
其他好文 时间:
2014-06-17 17:32:15
阅读次数:
249
题目
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
方法
/*语法:
*(1)基本数字I,X,C中的任何一个连用构成数目,都不能超过三个;
* 放在大数的左边只能用一个。
(2)基...
分类:
其他好文 时间:
2014-06-17 16:33:27
阅读次数:
217
--创建过程,参数为sys_refcursor,为out型
create or replace procedure aabbsys_refcursor(o out sys_refcursor) is
begin
open o for select * from basplumain;
end;
---
--测试过程,使用aabbsys_refcursor传出的值
create or repla...
分类:
其他好文 时间:
2014-06-17 16:04:12
阅读次数:
180