平时我们老说的控制反转依赖注入是什么东西?其实说白了就是一个松紧耦合的问题,咱们可以想一想,一个javabean里面可能会有很多属性比如像下面的代码:public
class KnightOfTheRoundTable implements Knight { private String na...
分类:
编程语言 时间:
2014-06-13 14:14:08
阅读次数:
271
一:获取二维数组的行数与列数,截图二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Lin...
分类:
其他好文 时间:
2014-06-13 14:01:56
阅读次数:
216
7.简单的汇编语法: 堆栈平衡 PUSH,POP功能: 把操作数压入或取出堆栈语法: PUSH 操作数
POP 操作数格式: PUSH r PUSH M PUSH data POP r POP mPUSHF,POPF,PUSHA,POPA功能: 堆栈指令群格式:
PUSHF POPF PUSHA P...
分类:
其他好文 时间:
2014-06-13 13:40:15
阅读次数:
197
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
我现在是这么画的,class A { private GeometryGroup
_lines; private Path _path; public A() { _path.Data = _lines; } public Draw() {
LineGeometry line = new LineG...
分类:
其他好文 时间:
2014-06-11 23:48:13
阅读次数:
1241
汉字转拼音using System;using System.Data;using
System.Configuration;using System.Text;/// /// Summary description for
ConvertHzToPz_Gb2312/// namespace Com...
分类:
其他好文 时间:
2014-06-11 22:21:09
阅读次数:
1678
1.在data.frame结构中,有时会有factor属性的值存在,不能直接使用as.numeric将factor中的数字直接转换,转换后的数据是错误的。一种方法是:使用as.character先将factor转换为character,再将character转换为numeric.2.在R中设定横轴的...
分类:
其他好文 时间:
2014-06-11 21:53:48
阅读次数:
341
有两种方法:1.通过Eclipse中的集成插件DDMS中的File Explorer(Pull
a file from device),但是有时候明明连成,但是就是无法将文件pull下来.虽然也运行了 adb
root发生这种错误时,采用方法2;2.通过adb 命名$ adb pull /data/...
分类:
其他好文 时间:
2014-06-11 13:14:31
阅读次数:
198
atitit.解决struts2 SpringObjectFactory.getClassInstance NullPointerException
#--现象
java.lang.NullPointerException
at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance
com.opens...
分类:
编程语言 时间:
2014-06-07 12:51:50
阅读次数:
253
前言:cacti监控mysql服务器的大概50张graphs都弄出来了,也出图了,其中遇到一些问题,印象比较深刻的记录如下:(一):添加io监控 点击Create Graphs for this Host 进去创建IO的图,结果报错This data query returned 0 rows, perhaps there was a problem executing this data que...
分类:
数据库 时间:
2014-06-07 12:18:41
阅读次数:
457