package com.test.entity;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.Collectio...
分类:
编程语言 时间:
2014-08-06 04:12:30
阅读次数:
393
这个博客太简单了!想到可能有其他朋友也遇到这个问题,就记录一下。
今天把一个之前在Windows上的Java项目放到Mac OS X上运行,本来觉得应该很简单的事情,结果还是报:
Exception in thread “main” java.io.IOException: No such file or directory
at java.io.UnixFileSystem.c...
分类:
编程语言 时间:
2014-08-06 01:56:40
阅读次数:
240
rails nameerror uninitialized constant classwill occur if your rails console is not loaded with configuration of the class file containing method bein...
分类:
其他好文 时间:
2014-08-06 01:25:40
阅读次数:
209
Calling ShowModal as an Anonymous Method on All Platformsprocedure THeaderFooterForm.btnPickClick(Sender: TObject);var dlg: TForm1;begin dlg := TFor.....
分类:
其他好文 时间:
2014-08-06 01:19:51
阅读次数:
227
1.1 RMI?的基本概念 1.1.1 什么是RMI RMI(Remote Method Invocation) 远程方法调用是一种计算机之间对象互相调用对方函数,启动对方进程的一种机制,使用这种机制,某一台计算机上的对象在调用另外一台计算机上的...
分类:
编程语言 时间:
2014-08-05 23:15:22
阅读次数:
582
跟着ZHONGHuan学习设计模式
简单工厂
简介:
从设计模式的类型上来说,简单工厂模式是属于创建型模式,又叫做静态工厂方法(Static Factory Method)模式,但不属于23种GOF设计模式之一。简单工厂模式是由一个工厂对象决定创建出哪一种产品类的实例。...
分类:
其他好文 时间:
2014-08-05 19:35:30
阅读次数:
198
Create an interface called Sortable in a package called sortPack. It should have one method compare which takes an Object as a parameter and returns a...
分类:
其他好文 时间:
2014-08-05 15:43:29
阅读次数:
316
直接看一个实例吧
package reflect;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
class Behavior {
private long di...
分类:
编程语言 时间:
2014-08-05 14:17:59
阅读次数:
267
A method for garbage collection in a solid state drive (SSD) includes determining whether the SSD is idle by a garbage collection module of the SSD; b...
分类:
其他好文 时间:
2014-08-05 00:25:08
阅读次数:
283
A method, apparatus, and computer usable program code for logical partitioning and virtualization in heterogeneous computer architecture. In one illus...
分类:
其他好文 时间:
2014-08-05 00:15:08
阅读次数:
491