摘要:
HashTable 写操作时候,Lock全表源码:publicsynchronizedV put(K key, V value) {// Make sure the value is not nullif (value == null) { throw new NullPointerExcepti... 阅读全文
摘要:
有时候Java的Eclipse工程换一台电脑后编译总是@override报错,把@override去掉就好了,但不能从根本上解决问题,因为有时候有@override的地方超级多。原因:这是jdk的问题,JDK5就已经有 @Override,但是不支持对接口的实现,认为这不是Override而报错。只... 阅读全文