摘要:
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
阅读全文
posted @ 2011-10-21 16:49
大松
阅读(342)
推荐(0)
posted @ 2011-10-20 16:38
大松
阅读(175)
推荐(0)
摘要:
/** * 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;
阅读全文
posted @ 2011-10-19 23:37
大松
阅读(146)
推荐(0)
摘要:
java.beans.EventHandler.EventHandler public static T create(Class listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName){...}
阅读全文
posted @ 2011-10-19 23:13
大松
阅读(147)
推荐(0)
摘要:
java.awt.event.MouseAdapter
阅读全文
posted @ 2011-10-19 23:09
大松
阅读(152)
推荐(0)
摘要:
CLASS: java.beans.ReflectionUtilsMETHOD: getMostSpecificMethod(List, Class[]);
阅读全文
posted @ 2011-10-19 21:43
大松
阅读(146)
推荐(0)
摘要:
客户端通过ICE调用远程方法,并呈现返回结果到UI操作的时序图:时序图附加:iceRmp.rar
阅读全文
posted @ 2011-10-11 13:43
大松
阅读(220)
推荐(0)
摘要:
public class MainThread{ private void corssThreadInvoke(final String arg) { QApplication.invokeLater(new Runnable() { String arg_ = arg; public void run() { //TODO //如果需要调用全局变量, //就必须用方法来...
阅读全文
posted @ 2011-09-28 15:35
大松
阅读(1511)
推荐(0)
摘要:
private List<Connection> cloneConnectionsForceInstance() { List<Connection> newList = new ArrayList<Connection>(); if (connections != null) newList.addAll(connections); return newList;}private List<Connection> cloneConnections() { if (connections == null) return null; List<
阅读全文
posted @ 2011-09-27 10:22
大松
阅读(194)
推荐(0)
摘要:
A.如果List的泛型类型为引用类型(Object), 那么,remove只针对List实例所在的栈数据,堆数据的移除不由remove完成(是gc完成)。 B.List移除功能的核心,在Java内部的实现为: /* * Private remove method that skips bounds checking and does not * return the value removed. */ private void fastRemove(int index) { modCount++; int numMoved = size - index - 1; if (numMoved &g
阅读全文
posted @ 2011-09-26 21:51
大松
阅读(1570)
推荐(0)