- 博客(7)
- 资源 (2)
- 收藏
- 关注
转载 Java反射中Method类invoke方法的用法
转载地址:http://blog.csdn.net/cuiran/article/details/5302074 /** * InvokeTester.java * 版权所有(C) 2010 [email protected] * 创建:崔冉 2010-2-9 下午02:07:13 */ package com.timer.demo.objectsocket; import jav
2014-12-30 15:28:37 423
原创 Java中static关键字的使用
1.为什么存在static static是为了使方法或者变量成为某个类的方法或者变量而不是某个实例所拥有,类似于“全局变量”,方便工具函数的使用,不需要实例化。 2.static的用法 静态变量: 变量为类所有而不是属于某个具体的实例,在类加载时就分配内存。 静态方法 方法为类所以而不是属于某个具体的实例 静态类: 一般类不能成为静态类,只有内部类才可以被static修饰,也只能在
2014-12-23 09:40:21 384
转载 心态决定一切
转自:http://blog.csdn.net/wuxianglong/article/details/5637060 如果令 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 分别等于百分之 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
2014-12-16 17:50:31 385
原创 pdf转word方法
软件下载地址:http://www.xp510.com/xiazai/Application/reading/22543.html 使用方法:直接打开编辑另存为有word模式
2014-12-12 00:26:29 714
原创 Spring注解实现AOP
一、实现步骤: 1.创建项目,导入Spring包,core和aop这两块的包。 2.在ApplicationContext.xml中加入必要配置,配置需要扫描的包和自动代理设置 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchem
2014-12-09 16:56:20 400
原创 Spring中注解的配置
1.配置applicationContext.xml,红色为Spring3.0另外加的配置专门为Spring注解配置,接着是扫描需要注解的包 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:conte
2014-12-03 11:00:59 409
原创 Spring 中仿照ClassPathXMLApplicationContext类生产类加载容器
MyApplication.java和Mybeans.java代替ClassPathXMLApplicationContext类 实现如下: MyApplication.java package com.test; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java
2014-12-02 18:15:30 439
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人