10 2011 档案
-
异常记录
摘要:*调试总结:1、调试时因该F5(eclipse)沿着异常堆栈一步一步往上调试,而不只是预设一个断点。应对InvocationTargetException。JSP:date: 2011/10/31contents: 使用jsp代码段引入bean时,出现了莫名的异常。如下:View Code 1 public class Order 2 { 3 protected int id; 4 public Order() 5 { 6 } 7 8 public int getId() 9 {10 return id;11 }12 ...13 }14 15 public class Item16 {... 阅读全文
-
对象比较中equals 与 ”==“的差别
摘要:要点:1、String str1 = "1";与 String str2 = new String("1"); 在内存中的表现是不同的。2、str2 = str2.intern();可以消除这种(str1、str2)不同。3、"==" 表示引用对象的引用比较,或则值对象的值比较。虽然String是引用对象,但是String的比较不能单纯的通过"=="实现,因为如 "1、"。4、Integer intObj = 1;Integer intObj2 = 1;int intNative = 1;的eq 阅读全文
-
The One Where Monica Gets a New Roommate
摘要:Build your own FREE website at Tripod.com Share: Facebook | Twitter | Digg | reddit The One Where Monica Gets a New Roommate (The Pilot-The Uncut Version) Written by: Marta Kauffman and David Cr... 阅读全文
-
抽象类的抽象方法及使用
摘要:class:java.util.AbstractMapline:381public abstract class AbstractMap<K,V> implements Map<K,V> { * Sole constructor. (For invocation by subclass constructors, typically protected AbstractMap() { ... * {@inheritDoc} public Collection<V> values() { if (values == null) { valu... 阅读全文
-
嵌套类引用实例化的外部类的方法
摘要:class:java.util.HashMapline:814HashMap.this.removeEntryForKey(k) 1 public class HashMap<K,V> 2 extends AbstractMap<K,V> 3 implements Map<K,V>, Cloneable, Serializable 4 { 5 ... 6 final Entry<K,V> removeEntryForKey(Object key) {...} 7 private abstract class HashIterator<E&g 阅读全文
-
class,abstract class,interface之间的继承与实现关系(java,c#)
摘要: 阅读全文
-
可叠加定义的成员变量的赋值及操作(权限)
摘要:/** * The int value representing the public * modifier. */ public static final int PUBLIC = 0x00000001; /** * The int value representing the private * modifier. */ public static final int PRIVATE = 0x00000002; 阅读全文
-
static method and instance
摘要:java.beans.EventHandler.EventHandler public static T create(Class listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName){...} 阅读全文
-
Adapter
摘要:java.awt.event.MouseAdapter 阅读全文
-
最匹配
摘要:CLASS: java.beans.ReflectionUtilsMETHOD: getMostSpecificMethod(List, Class[]); 阅读全文
-
ICE中调用服务所出现(业务操作中)的线程及关系
摘要:客户端通过ICE调用远程方法,并呈现返回结果到UI操作的时序图:时序图附加:iceRmp.rar 阅读全文